DpwsHostedService Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
This class implements a set of base methods and properties used by the stack to dispatch method calls and discover hosted service endpoints, operations, and events.
Inheritance Hierarchy
System. . :: . .Object
Dpws.Device.Services..::..DpwsHostedService
Namespace: Dpws.Device.Services
Assembly: MFDpwsDevice (in MFDpwsDevice.dll)
Syntax
'Declaration
Public Class DpwsHostedService _
Implements IWsServiceEndpoint
public class DpwsHostedService : IWsServiceEndpoint
public ref class DpwsHostedService : IWsServiceEndpoint
type DpwsHostedService =
class
interface IWsServiceEndpoint
end
public class DpwsHostedService implements IWsServiceEndpoint
The DpwsHostedService type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DpwsHostedService | Creates a new instance of the DpwsHostedService class. |
Top
Properties
Name | Description | |
---|---|---|
EndpointAddress | Gets or sets the unique endpoint address used by the HTTP transport to access this hosted service. | |
EndpointRefs | Gets a collection of endpoint references specific to a device implementation. | |
EventSources | Gets or sets a collection used to store event source parameters such as event source name and namespace. | |
ServiceID | Gets or sets a unique identifier for the hosted services. | |
ServiceNamespace | Gets or sets the namespace for a DPWS hosted service. | |
ServiceOperations | Gets a collection that stores parameters such as Action and namespace for Hosted Services operations. | |
ServiceTypeName | Gets a string representing the name of a hosted service. |
Top
Methods
Name | Description | |
---|---|---|
AddEventServices | ||
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetHashCode | Serves as a hash function for a particular type. (Inherited from Object.) | |
GetStatus | Returns a GetStatus response. | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Renew | Returns a Renew response. | |
Subscribe | Returns a Subscribe response. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
Unsubscribe | Returns an Unsubscribe response. |
Top
Fields
Name | Description | |
---|---|---|
m_version |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IWsServiceEndpoint. . :: . .BlockingCall | Gets a value that determines whether the ProcessRequest call blocks. | |
IWsServiceEndpoint. . :: . .ProcessRequest | Gets a service operation based on the action property sent in the SOAP header, and calls Invoke on the service method. |
Top
Remarks
A device developer must derive hosted service class(es) from this base class.
A default namespace and prefix are provided. Set the EndpointAddress property to change default values.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.