WCF-Xtensions Class Reference for Mono
OnOpening Method (XServiceHost)






Overrides virtual method of System.ServiceMode.ServiceHost.
Syntax
'Declaration
 
Protected Overrides Sub OnOpening() 
'Usage
 
Dim instance As XServiceHost
 
instance.OnOpening()
protected override void OnOpening()
protected procedure OnOpening(); override; 
protected override function OnOpening();
protected: void OnOpening(); override 
protected:
void OnOpening(); override 
Remarks
Upon opening XServiceHost modifies the configuration of the bindings used by the service endpoints to use Noemax.WCFX.Channels.FiMessageEncodingBindingElement. It also optionally provides compression or injects the Noemax.WCFX.Behaviors.EnvelopeEndpointBehavior to each endpoint exposed by the service.
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

XServiceHost Class
XServiceHost Members
Base Implementation in OnOpening

Send Feedback