The following tables list the members exposed by ServiceHost.
Name | Description | |
---|---|---|
ServiceHost Constructor |
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 | ||
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 |
Name | Description | |
---|---|---|
DefaultCloseTimeout | Gets the default interval of time allowed for the service host to close. (Inherited from System.ServiceModel.ServiceHostBase) | |
DefaultOpenTimeout | Gets the default interval of time allowed for the service host to open. (Inherited from System.ServiceModel.ServiceHostBase) | |
IsDisposed | Gets a value that indicates whether the communication object has been disposed. (Inherited from System.ServiceModel.Channels.CommunicationObject) | |
ThisLock | Gets the mutually exclusive lock that protects the class instance during a state transition. (Inherited from System.ServiceModel.Channels.CommunicationObject) |
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 | ||
InitializeSinglePolicy | ||
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 | |
---|---|---|
AddBaseAddress | Adds a base address to the service host. (Inherited from System.ServiceModel.ServiceHostBase) | |
ApplyConfiguration | Loads the service description from the configuration file and applies it to the runtime being constructed. (Inherited from System.ServiceModel.ServiceHost) | |
CreateDescription | Creates a description of the service hosted. (Inherited from System.ServiceModel.ServiceHost) | |
Fault | Causes a communication object to transition from its current state into the faulted state. (Inherited from System.ServiceModel.Channels.CommunicationObject) | |
GetCommunicationObjectType | Gets the type of communication object. (Inherited from System.ServiceModel.Channels.CommunicationObject) | |
InitializeDescription | Overloaded. Initializes a description of the service hosted based on its instance and specified base addresses. (Inherited from System.ServiceModel.ServiceHost) | |
InitializeRuntime | Initializes the runtime for the service host. (Inherited from System.ServiceModel.ServiceHostBase) | |
LoadConfigurationSection | Loads the service element from the configuration file of the hosted service. (Inherited from System.ServiceModel.ServiceHostBase) | |
OnAbort | Aborts the service. (Inherited from System.ServiceModel.ServiceHostBase) | |
OnBeginClose | Begins an asynchronous operation invoked on the close of the service host. (Inherited from System.ServiceModel.ServiceHostBase) | |
OnBeginOpen | (Inherited from System.ServiceModel.ServiceHostBase) | |
OnClose | Closes down the hosted service, including their channel dispatchers and associated instance contexts and listeners. (Inherited from System.ServiceModel.ServiceHostBase) | |
OnClosed | Disposes of disposable services that are being hosted when the service host is closed. (Inherited from System.ServiceModel.ServiceHost) | |
OnClosing | Overridden. | |
OnEndClose | Completes an asynchronous operation invoked on the closing of the service host. (Inherited from System.ServiceModel.ServiceHostBase) | |
OnEndOpen | Completes an asynchronous operation invoked on the opening of the service host. (Inherited from System.ServiceModel.ServiceHostBase) | |
OnFaulted | Inserts processing on a communication object after it transitions to the faulted state due to the invocation of a synchronous fault operation. (Inherited from System.ServiceModel.Channels.CommunicationObject) | |
OnOpen | Opens the channel dispatchers. (Inherited from System.ServiceModel.ServiceHostBase) | |
OnOpened | Gets the service credentials,service authentication and authorization behavior for the hosted service. (Inherited from System.ServiceModel.ServiceHostBase) | |
OnOpening | Overridden. | |
ReleasePerformanceCounters | Releases the service and channel dispatcher performance counters for the hosted service. (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) |