ServiceOperationResult Class

Defines general-purpose class to indicate the status of the operation.

Definition

Namespace: SysadminsLV.PKI.Utils
Assembly: SysadminsLV.PKI.Win (in SysadminsLV.PKI.Win.dll) Version: 4.0.1.0 (4.0.1.0)
C#
public class ServiceOperationResult : IServiceOperationResult
Inheritance
Object    ServiceOperationResult
Implements
IServiceOperationResult

Constructors

ServiceOperationResult(Int32) Initializes a new instance of ServiceOperationResult from Win32 HRESULT status code. Status message is decoded automatically.
ServiceOperationResult(Int32, String) Initializes a new instance of ServiceOperationResult from Win32 HRESULT status code and custome status message.
ServiceOperationResult(Int32, String, Object) Initializes a new instance of ServiceOperationResult from Win32 HRESULT status code and custome status message.

Properties

HResult Gets the Win32-style HRESULT error code. Zero value means success, non-zero value means failure.
InnerObject Gets or sets the object which is the result of the operation. This member is not mandatory and may return null even if the status is successful and depends.
StatusMessage Gets the message associated with the HResult error code.

Methods

Equals
(Inherited from Object)
Finalize
(Inherited from Object)
GetHashCode
(Inherited from Object)
GetType
(Inherited from Object)
MemberwiseClone
(Inherited from Object)
ToString
(Inherited from Object)

See Also