IdeaBlade DevForce 2010 Help Reference
OnServiceHostCreated Method
See Also  Send Feedback
IdeaBlade.EntityModel.Server Assembly > IdeaBlade.EntityModel.Server Namespace > ServiceHostEvents Class : OnServiceHostCreated Method



host
Called when a ServiceHost has been created.

Syntax

Visual Basic (Declaration) 
Public Overridable Sub OnServiceHostCreated( _
   ByVal host As ServiceHost _
) 
Visual Basic (Usage)Copy Code
Dim instance As ServiceHostEvents
Dim host As ServiceHost
 
instance.OnServiceHostCreated(host)
C# 
public virtual void OnServiceHostCreated( 
   ServiceHost host
)
C++/CLI 
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 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.