RemoteProcess.Close Method
Closes the handle to free system resources on the device and disassociates the RemoteProcess object with a remote executable by emptying the file name and arguments member variables.
Namespace: Microsoft.SmartDevice.Connectivity
Assembly: Microsoft.SmartDevice.Connectivity (in Microsoft.SmartDevice.Connectivity.dll)
Syntax
'Declaration
Public Sub Close
'Usage
Dim instance As RemoteProcess
instance.Close()
public void Close()
public:
void Close()
public function Close()
Exceptions
Exception | Condition |
---|---|
SmartDeviceException | An error occurred in the underlying COM components. |
DeviceNotConnectedException | The device is not connected. |
.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.