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
- 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.