HostProtectionAttribute.SelfAffectingProcessMgmt Property

 

Gets or sets a value indicating whether self-affecting process management is exposed.

Namespace:   System.Security.Permissions
Assembly:  mscorlib (in mscorlib.dll)

member SelfAffectingProcessMgmt : bool with get, set

Property Value

Type: System.Boolean

true if self-affecting process management is exposed; otherwise, false. The default is false.

Self-affecting process management code might exit the current process, terminating the server.

The following code example illustrates the use of the HostProtectionAttribute attribute with the SelfAffectingProcessMgmt property. This example is part of a larger example provided for the HostProtectionAttribute class.

No code example is currently available or this language may not be supported.

.NET Framework
Available since 2.0
Return to top
Show: