Initialize Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Initializes the device.
Namespace: Dpws.Device
Assembly: MFDpwsDevice (in MFDpwsDevice.dll)
Syntax
'Declaration
Public Shared Sub Initialize ( _
binding As Binding, _
v As ProtocolVersion _
)
public static void Initialize(
Binding binding,
ProtocolVersion v
)
public:
static void Initialize(
Binding^ binding,
ProtocolVersion^ v
)
static member Initialize :
binding:Binding *
v:ProtocolVersion -> unit
public static function Initialize(
binding : Binding,
v : ProtocolVersion
)
Parameters
- binding
Type: Ws.Services.Binding. . :: . .Binding
The transport binding for the device.
- v
Type: Ws.Services. . :: . .ProtocolVersion
The version of the SOAP messaging protocol.
Remarks
The Initialize method builds the collection of internal device services, sets the device's transport address, and adds DPWS-required namespaces to the device's namespace collection.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see dd66cd4c-b087-415f-9c3e-94e3a1835f74.