Compartilhar via


AddinErrorRecord.ErrorCode Property

 

Retrieves or sets the custom error code.

Namespace:   Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners
Assembly:  Microsoft.WindowsServerSolutions.Administration.ObjectModel (in Microsoft.WindowsServerSolutions.Administration.ObjectModel.dll)

Syntax

public int ErrorCode { get; set; }
public:
property int ErrorCode {
    int get();
    void set(int value);
}
Public Property ErrorCode As Integer

Property Value

Type: System.Int32

A Int32 containing the custom error code.

Remarks

If your implementation does not use one of the pre-defined error codes, you should provide your own error code with this field.

See Also

AddinErrorRecord Class
Microsoft.WindowsServerSolutions.Administration.ObjectModel.Adorners Namespace

Return to top