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
Public method DpwsWseEventSource Initializes a new instance of the DpwsWseEventSource class.

Top

Properties

  Name Description
Public property Name Gets or sets the name of the event source.
Public property NamespaceURI Gets or sets the event source namespace URI.
Public property Operation Gets or sets the complete event source namespace-qualified name.
Public property Prefix Gets or sets the event source namespace prefix.

Top

Methods

  Name Description
Public method Equals(Object) Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method 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.

See Also

Reference

Dpws.Device.Services Namespace