Share via


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

See Also

Reference

IDevicePacketStream Interface

IDevicePacketStream Members

Microsoft.SmartDevice.DeviceAgentTransport Namespace