Visual Basic (Declaration) | |
---|---|
Public Overridable Sub OnFactoryCreated( _ ByVal factory As ChannelFactory _ ) |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As ServiceProxyEvents Dim factory As ChannelFactory instance.OnFactoryCreated(factory) |
C# | |
---|---|
public virtual void OnFactoryCreated( ChannelFactory factory ) |
C++/CLI | |
---|---|
public: virtual void OnFactoryCreated( ChannelFactory^ factory ) |
Parameters
- factory
Override this method to perform additional customization of the proxy before the channel is opened. For example, you can add additional endpoints and behaviors. The base implementation performs no action.
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