The following tables list the members exposed by ServiceHost.
Name | Description | |
---|---|---|
![]() | ServiceHost Constructor | Initializes the service host. |
Name | Description | |
---|---|---|
![]() | Authentication | Gets the service authentication behavior. (Inherited from System.ServiceModel.ServiceHostBase) |
![]() | Authorization | Gets the authorization behavior for the service hosted. (Inherited from System.ServiceModel.ServiceHostBase) |
![]() | BaseAddresses | Gets the base addresses used by the hosted service. (Inherited from System.ServiceModel.ServiceHostBase) |
![]() | ChannelDispatchers | Gets the collection of channel dispatchers used by the service host. (Inherited from System.ServiceModel.ServiceHostBase) |
![]() | CloseTimeout | Gets or sets the interval of time allowed for the service host to close. (Inherited from System.ServiceModel.ServiceHostBase) |
![]() | Credentials | Gets the credential for the service hosted. (Inherited from System.ServiceModel.ServiceHostBase) |
![]() | Description | Gets the description of the service hosted. (Inherited from System.ServiceModel.ServiceHostBase) |
![]() | Extensions | Gets the extensions for the current specified service host. (Inherited from System.ServiceModel.ServiceHostBase) |
![]() | ManualFlowControlLimit | Gets or sets the flow control limit for messages received by the service hosted. (Inherited from System.ServiceModel.ServiceHostBase) |
![]() | OpenTimeout | Gets or sets the interval of time allowed for the service host to open. (Inherited from System.ServiceModel.ServiceHostBase) |
![]() | Server | The UA server instance associated with the service host. |
![]() | SingletonInstance | Gets the singleton instance of the hosted service. (Inherited from System.ServiceModel.ServiceHost) |
![]() | State | Gets a value that indicates the current state of the communication object. (Inherited from System.ServiceModel.Channels.CommunicationObject) |
![]() | StopServerOnClose | Whether the host should stop its contained server when it is closed. |
Name | Description | |
---|---|---|
![]() | Abort | Causes a communication object to transition immediately from its current state into the closing state. (Inherited from System.ServiceModel.Channels.CommunicationObject) |
![]() | AddDefaultEndpoints | Adds service endpoints for all base addresses in each contract found in the service host with the default binding. (Inherited from System.ServiceModel.ServiceHostBase) |
![]() | AddServiceEndpoint | Overloaded. Adds a service endpoint to the hosted service with a specified contract, binding, and endpoint address. (Inherited from System.ServiceModel.ServiceHost) |
![]() | BeginClose | Overloaded. Begins an asynchronous operation to close a communication object. (Inherited from System.ServiceModel.Channels.CommunicationObject) |
![]() | BeginOpen | Overloaded. Begins an asynchronous operation to open a communication object. (Inherited from System.ServiceModel.Channels.CommunicationObject) |
![]() | Close | Overloaded. Causes a communication object to transition from its current state into the closed state. (Inherited from System.ServiceModel.Channels.CommunicationObject) |
![]() | EndClose | Completes an asynchronous operation to close a communication object. (Inherited from System.ServiceModel.Channels.CommunicationObject) |
![]() | EndOpen | Completes an asynchronous operation to open a communication object. (Inherited from System.ServiceModel.Channels.CommunicationObject) |
![]() | IncrementManualFlowControlLimit | Increases the limit on the flow rate of messages to the hosted service by a specified increment. (Inherited from System.ServiceModel.ServiceHostBase) |
![]() | InitializeDiscovery | Adds the discovery url to the hosts. |
![]() | InitializeSinglePolicy | Initializes the host for protocols that support a single policy per endpoint. |
![]() | Open | Overloaded. Causes a communication object to transition from the created state into the opened state. (Inherited from System.ServiceModel.Channels.CommunicationObject) |
![]() | SetEndpointAddress | Sets the endpoint address of the specified endpoint to the specified address. (Inherited from System.ServiceModel.ServiceHostBase) |
Name | Description | |
---|---|---|
![]() | Closed | Occurs when a communication object transitions into the closed state. (Inherited from System.ServiceModel.Channels.CommunicationObject) |
![]() | Closing | Occurs when a communication object transitions into the closing state. (Inherited from System.ServiceModel.Channels.CommunicationObject) |
![]() | Faulted | Occurs when a communication object transitions into the faulted state. (Inherited from System.ServiceModel.Channels.CommunicationObject) |
![]() | Opened | Occurs when a communication object transitions into the opened state. (Inherited from System.ServiceModel.Channels.CommunicationObject) |
![]() | Opening | Occurs when a communication object transitions into the opening state. (Inherited from System.ServiceModel.Channels.CommunicationObject) |
![]() | UnknownMessageReceived | Occurs when an unknown message is received. (Inherited from System.ServiceModel.ServiceHostBase) |