Dela via


DevicePacketStream.Close Method

Disconnects the stream connection between the device and the host

Namespace:  Microsoft.SmartDevice.Connectivity
Assembly:  Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)

Syntax

'Declaration
Public Sub Close
'Usage
Dim instance As DevicePacketStream

instance.Close()
public void Close()
public:
void Close()
public function Close()

Exceptions

Exception Condition
IOException

An exception occurs in underlying unmanaged components.

.NET Framework Security

See Also

Reference

DevicePacketStream Class

DevicePacketStream Members

Microsoft.SmartDevice.Connectivity Namespace