Udostępnij za pośrednictwem


RemoteProcess.GetId Method

Gets the ID of the process that has the same FileName property.

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

Syntax

'Declaration
Public Function GetId As Long
'Usage
Dim instance As RemoteProcess 
Dim returnValue As Long 

returnValue = instance.GetId()
public long GetId()
public:
long long GetId()
public function GetId() : long

Return Value

Type: System.Int64
Returns Int32 process ID value.

Exceptions

Exception Condition
InvalidOperationException

With a message string "Remote Process has not started", is thrown when the remote process has not started.

.NET Framework Security

See Also

Reference

RemoteProcess Class

RemoteProcess Members

Microsoft.SmartDevice.Connectivity Namespace