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

See Also

Reference

RemoteProcess Class

RemoteProcess Members

Microsoft.SmartDevice.Connectivity Namespace