Click or drag to resize

ServiceProcess Methods

The ServiceProcess type exposes the following members.

Methods
  Name Description
Public method Abort Stops the execution of ServiceProcess if it executing.
Public method Dispose Releases all the resources used by the ServiceProcess object.
Protected method Dispose(Boolean) Releases the unmanaged resources used by the ServiceProcess and optionally releases the managed resources.
Public method Equals Determines whether the specified object is equal to the current object.
(Inherited from Object)
Protected method Finalize Releases the unmanaged resources before the ServiceProcess object is reclaimed by GC.
(Overrides ObjectFinalize)
Public method GetHashCode Serves as the default hash function.
(Inherited from Object)
Public method GetType Gets the Type of the current instance.
(Inherited from Object)
Protected method MemberwiseClone Creates a shallow copy of the current Object.
(Inherited from Object)
Protected method OnStateChanged Raises the StateChanged event.
Public method Start Starts the execution of ServiceProcess.
Public method Start(Object) Starts the execution of ServiceProcess.
Public method ToString Returns a string that represents the current object.
(Inherited from Object)
Top
Extension Methods
  Name Description
Public Extension Method GetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension Method GetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also