EasyUA Reference
ServiceHost Class Members
See Also  Properties  Methods  Events Send Feedback
Opc.Ua.Core.Net4 Assembly > Opc.Ua Namespace : ServiceHost Class

Glossary Item Box

The following tables list the members exposed by ServiceHost.

Public Constructors

 NameDescription
Public ConstructorServiceHost Constructor Initializes the service host.  
Top

Public Properties

 NameDescription
Public PropertyAuthenticationGets the service authentication behavior. (Inherited from System.ServiceModel.ServiceHostBase)
Public PropertyAuthorizationGets the authorization behavior for the service hosted. (Inherited from System.ServiceModel.ServiceHostBase)
Public PropertyBaseAddressesGets the base addresses used by the hosted service. (Inherited from System.ServiceModel.ServiceHostBase)
Public PropertyChannelDispatchersGets the collection of channel dispatchers used by the service host. (Inherited from System.ServiceModel.ServiceHostBase)
Public PropertyCloseTimeoutGets or sets the interval of time allowed for the service host to close. (Inherited from System.ServiceModel.ServiceHostBase)
Public PropertyCredentialsGets the credential for the service hosted. (Inherited from System.ServiceModel.ServiceHostBase)
Public PropertyDescriptionGets the description of the service hosted. (Inherited from System.ServiceModel.ServiceHostBase)
Public PropertyExtensionsGets the extensions for the current specified service host. (Inherited from System.ServiceModel.ServiceHostBase)
Public PropertyManualFlowControlLimitGets or sets the flow control limit for messages received by the service hosted. (Inherited from System.ServiceModel.ServiceHostBase)
Public PropertyOpenTimeoutGets or sets the interval of time allowed for the service host to open. (Inherited from System.ServiceModel.ServiceHostBase)
Public PropertyServer The UA server instance associated with the service host.  
Public PropertySingletonInstanceGets the singleton instance of the hosted service. (Inherited from System.ServiceModel.ServiceHost)
Public PropertyStateGets a value that indicates the current state of the communication object. (Inherited from System.ServiceModel.Channels.CommunicationObject)
Public PropertyStopServerOnClose Whether the host should stop its contained server when it is closed.  
Top

Public Methods

 NameDescription
Public MethodAbortCauses a communication object to transition immediately from its current state into the closing state. (Inherited from System.ServiceModel.Channels.CommunicationObject)
Public MethodAddDefaultEndpointsAdds service endpoints for all base addresses in each contract found in the service host with the default binding. (Inherited from System.ServiceModel.ServiceHostBase)
Public MethodAddServiceEndpointOverloaded. Adds a service endpoint to the hosted service with a specified contract, binding, and endpoint address. (Inherited from System.ServiceModel.ServiceHost)
Public MethodBeginCloseOverloaded. Begins an asynchronous operation to close a communication object. (Inherited from System.ServiceModel.Channels.CommunicationObject)
Public MethodBeginOpenOverloaded. Begins an asynchronous operation to open a communication object. (Inherited from System.ServiceModel.Channels.CommunicationObject)
Public MethodCloseOverloaded. Causes a communication object to transition from its current state into the closed state. (Inherited from System.ServiceModel.Channels.CommunicationObject)
Public MethodEndCloseCompletes an asynchronous operation to close a communication object. (Inherited from System.ServiceModel.Channels.CommunicationObject)
Public MethodEndOpenCompletes an asynchronous operation to open a communication object. (Inherited from System.ServiceModel.Channels.CommunicationObject)
Public MethodIncrementManualFlowControlLimitIncreases the limit on the flow rate of messages to the hosted service by a specified increment. (Inherited from System.ServiceModel.ServiceHostBase)
Public MethodInitializeDiscovery Adds the discovery url to the hosts.  
Public MethodInitializeSinglePolicy Initializes the host for protocols that support a single policy per endpoint.  
Public MethodOpenOverloaded. Causes a communication object to transition from the created state into the opened state. (Inherited from System.ServiceModel.Channels.CommunicationObject)
Public MethodSetEndpointAddressSets the endpoint address of the specified endpoint to the specified address. (Inherited from System.ServiceModel.ServiceHostBase)
Top

Public Events

 NameDescription
Public EventClosedOccurs when a communication object transitions into the closed state. (Inherited from System.ServiceModel.Channels.CommunicationObject)
Public EventClosingOccurs when a communication object transitions into the closing state. (Inherited from System.ServiceModel.Channels.CommunicationObject)
Public EventFaultedOccurs when a communication object transitions into the faulted state. (Inherited from System.ServiceModel.Channels.CommunicationObject)
Public EventOpenedOccurs when a communication object transitions into the opened state. (Inherited from System.ServiceModel.Channels.CommunicationObject)
Public EventOpeningOccurs when a communication object transitions into the opening state. (Inherited from System.ServiceModel.Channels.CommunicationObject)
Public EventUnknownMessageReceivedOccurs when an unknown message is received. (Inherited from System.ServiceModel.ServiceHostBase)
Top

See Also

Copyright © 2018 Advosol Inc. All Rights Reserved.