DevForce Help Reference
OnServiceHostCreated Method


Called when a ServiceHost has been created.
Syntax
'Declaration
 
Public Overridable Sub OnServiceHostCreated( _
   ByVal host As ServiceHost _
) 
'Usage
 
Dim instance As ServiceHostEvents
Dim host As ServiceHost
 
instance.OnServiceHostCreated(host)
public virtual void OnServiceHostCreated( 
   ServiceHost host
)

Parameters

host
Remarks
Override this method to perform additional customization of the service before it is opened. For example, you can add additional endpoints and behaviors. The base implementation performs no action.
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

ServiceHostEvents Class
ServiceHostEvents Members

Send Feedback