RemotingConfiguration.ProcessId Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Gets the ID of the currently executing process.

Namespace:   System.Runtime.Remoting
Assembly:  mscorlib (in mscorlib.dll)

Public Shared ReadOnly Property ProcessId As String

Property Value

Type: System.String

A String that contains the ID of the currently executing process.

Exception Condition
SecurityException

The immediate caller does not have infrastructure permission.

SecurityPermission

For operating with infrastructure code. Demand value: SecurityAction.LinkDemand; Permission value: SecurityPermissionFlag.Infrastructure

.NET Framework
Available since 1.1
Return to top
Show: