Click or drag to resize

ISelfHostingService Interface

Defines a web service that can send and receive data over REST (Representational State Transfer) interface.

Namespace: GSF.ServiceModel
Assembly: GSF.ServiceModel (in GSF.ServiceModel.dll) Version: 2.4.218-beta
Syntax
View Source

The ISelfHostingService type exposes the following members.

Properties
 NameDescription
Public propertyContractInterface Gets or sets the FullName of the contract interface implemented by the web service.
Public propertyDomain Gets the AppDomain in which the IAdapter is executing.
(Inherited from IAdapter)
Public propertyEnabled Gets or sets a boolean value that indicates whether the object is enabled.
(Inherited from ISupportLifecycle)
Public propertyEndpoints Gets or sets a semicolon delimited list of URIs where the web service can be accessed.
Public propertyHostFile Gets or sets the path to the file where the IAdapter is housed.
(Inherited from IAdapter)
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from ISupportLifecycle)
Public propertyMemoryUsage Gets the memory utilization of the IAdapter in bytes if executing in a separate AppDomain, otherwise NaN.
(Inherited from IAdapter)
Public propertyName Gets the name of the object providing status information.
(Inherited from IProvideStatus)
Public propertyPersistSettings Determines whether the object settings are to be persisted to the config file.
(Inherited from IPersistSettings)
Public propertyProcessorUsage Gets the % processor utilization of the IAdapter if executing in a separate AppDomain otherwise NaN.
(Inherited from IAdapter)
Public propertyPublishMetadata Gets or sets a boolean value that indicates whether web service metadata is to made available at all web service Endpoints.
Public propertySecurityPolicy Gets or sets the FullName of IAuthorizationPolicy to be used for securing all web service Endpoints.
Public propertyServiceHost Gets the ServiceHost hosting the web service.
Public propertySettingsCategory Gets or sets the category name under which the object settings are persisted in the config file.
(Inherited from IPersistSettings)
Public propertySingleton Gets or sets a boolean value that indicates whether the ServiceHost will use the current instance of the web service for processing requests or base the web service instance creation on InstanceContextMode specified in its ServiceBehaviorAttribute.
Public propertyStatus Gets the current status details about object providing status information.
(Inherited from IProvideStatus)
Public propertyTypeName Gets or sets the text representation of the IAdapter's TypeName.
(Inherited from IAdapter)
Top
Methods
 NameDescription
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodInitialize Initializes the state of the object.
(Inherited from ISupportLifecycle)
Public methodLoadSettings Loads saved settings from the config file.
(Inherited from IPersistSettings)
Public methodSaveSettings Saves settings to the config file.
(Inherited from IPersistSettings)
Top
Events
 NameDescription
Public eventDisposed Raised after the source object has been properly disposed.
(Inherited from ISupportLifecycle)
Public eventExecutionException Occurs when the IAdapter encounters an Exception during execution.
(Inherited from IAdapter)
Public eventServiceHostCreated Occurs when the ServiceHost has been created with the specified Endpoints.
Public eventServiceHostStarted Occurs when the ServiceHost can process requests via all of its endpoints.
Public eventServiceProcessException Occurs when an Exception is encountered when processing a request.
Public eventStatusUpdate Occurs when the IAdapter wants to provide a status update.
(Inherited from IAdapter)
Top
See Also