IDevicePacketStream.Disconnect Method
Disconnects the stream.
Namespace: Microsoft.SmartDevice.DeviceAgentTransport
Assembly: Microsoft.SmartDevice.DeviceAgentTransport (in Microsoft.SmartDevice.DeviceAgentTransport.dll)
Syntax
'Declaration
Sub Disconnect
'Usage
Dim instance As IDevicePacketStream
instance.Disconnect()
void Disconnect()
void Disconnect()
function Disconnect()
Exceptions
Exception | Condition |
---|---|
COMException | HRESULT information: E_FAIL | for any other failure. |
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.