ServiceControllerPermissionEntry Class

ServiceControllerPermissionEntry Class

 

Defines the smallest unit of a code access security permission that is set for a ServiceController.

Namespace:   System.ServiceProcess
Assembly:  System.ServiceProcess (in System.ServiceProcess.dll)

System.Object
  System.ServiceProcess.ServiceControllerPermissionEntry

[SerializableAttribute]
public class ServiceControllerPermissionEntry

NameDescription
System_CAPS_pubmethodServiceControllerPermissionEntry()

Initializes a new instance of the ServiceControllerPermissionEntry class.

System_CAPS_pubmethodServiceControllerPermissionEntry(ServiceControllerPermissionAccess, String, String)

Initializes a new instance of the ServiceControllerPermissionEntry class with the specified permission access levels, the name of the computer, and a short name that identifies the service.

NameDescription
System_CAPS_pubpropertyMachineName

Gets the name of the computer on which the service resides.

System_CAPS_pubpropertyPermissionAccess

Gets the access levels used in the permissions request.

System_CAPS_pubpropertyServiceName

Gets the short name that identifies the service to the system.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

For more information on code access security, see Code Access Security.

.NET Framework
Available since 1.1

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show:
© 2016 Microsoft