DpwsWseEventSource Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Stores information that identifies a specific hosted service event source.
Inheritance Hierarchy
System. . :: . .Object
Dpws.Device.Services..::..DpwsWseEventSource
Namespace: Dpws.Device.Services
Assembly: MFDpwsDevice (in MFDpwsDevice.dll)
Syntax
'Declaration
Public Class DpwsWseEventSource
public class DpwsWseEventSource
public ref class DpwsWseEventSource
type DpwsWseEventSource = class end
public class DpwsWseEventSource
The DpwsWseEventSource type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DpwsWseEventSource | Initializes a new instance of the DpwsWseEventSource class. |
Top
Properties
Name | Description | |
---|---|---|
Name | Gets or sets the name of the event source. | |
NamespaceURI | Gets or sets the event source namespace URI. | |
Operation | Gets or sets the complete event source namespace-qualified name. | |
Prefix | Gets or sets the event source namespace prefix. |
Top
Methods
Name | Description | |
---|---|---|
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.) | |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Remarks
You must create an DpwsWseEventSource object for each event in a hosted service you want to expose to a DPWS client. The event source object must then be added to the hosted service event source collection to register it with the device services. When a client subscribes to an event the subscription manager uses this class to validate and create an event subscription for the event source. The properties of this class represent the event type in an event subscription request.
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.