DpwsClient Class
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Base class used by a Devices Profile for Web Services (DPWS) client application or control developer to implement a DPWS device client. DPWS client implementations must derive from this class.
Inheritance Hierarchy
System. . :: . .Object
Dpws.Client..::..DpwsClient
Namespace: Dpws.Client
Assembly: MFDpwsClient (in MFDpwsClient.dll)
Syntax
'Declaration
Public Class DpwsClient _
Implements IWsServiceEndpoint, IDisposable
public class DpwsClient : IWsServiceEndpoint, IDisposable
public ref class DpwsClient : IWsServiceEndpoint,
IDisposable
type DpwsClient =
class
interface IWsServiceEndpoint
interface IDisposable
end
public class DpwsClient implements IWsServiceEndpoint, IDisposable
The DpwsClient type exposes the following members.
Constructors
Name | Description | |
---|---|---|
DpwsClient | Initializes a new instance of the DpwsClient class with a specified transport binding and protocol version. |
Top
Properties
Name | Description | |
---|---|---|
DiscoveryClient | Contains an instance of a DPWS Discovery client. | |
EndpointAddress | A URN:UUID used by the transport services to locate this client. This property represents the endpoint reference address of a client. This stack supports URN:UUID endpoint addresses only. | |
EventingClient | Retrieves an instance of a DPWS EventingClient. | |
IgnoreRequestFromThisIP | Enables or disables receiving discovery requests from this IP address. | |
IPV4Address | Gets or sets the local IPV4 address. | |
MexClient | Contains an instance of a DPWS Metadata client. | |
ServiceOperations | Contains a collection of event sink callback methods. | |
TransportAddress | Gets or sets a DPWS-compliant transport address. |
Top
Methods
Name | Description | |
---|---|---|
Dispose | Releases all resources used by the DpwsClients object and removes this instance from the list of stack service processes. | |
Equals(Object) | Determines whether the specified Object is equal to the current Object. (Inherited from Object.) | |
Finalize | Performs clean-up operations. (Overrides Object. . :: . .Finalize() () () ().) | |
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.) | |
StartEventListeners | Starts the service host. | |
ToString | Returns a string that represents the current object. (Inherited from Object.) |
Top
Events
Name | Description | |
---|---|---|
ByeEvent | Event property used to create an event handler for DPWS End messages. | |
HelloEvent | Event property used to create and event handler for DPWS Hello messages. | |
SubscriptionEndEvent | Event property used to create an event handler for Ws-Eventing, SubscriptionEnd messages. |
Top
Fields
Name | Description | |
---|---|---|
m_localBinding | Specifies the local transport binding. | |
m_version | Specifies the SOAP messaging protocol version. |
Top
Explicit Interface Implementations
Name | Description | |
---|---|---|
IWsServiceEndpoint. . :: . .BlockingCall | Determines whether a ProcessRequest call blocks. | |
IWsServiceEndpoint. . :: . .ProcessRequest | Implements the ProcessRequest interface used to control the blocking of a request. |
Top
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.