DscException.ErrorCode Property

Gets the error code that identifies the error that occurred with DSC.

Namespace: Microsoft.Hpc.Dsc
Assembly: Microsoft.Hpc.Dsc (in Microsoft.Hpc.Dsc.dll)

Usage

'Usage
Dim instance As DscException
Dim value As Integer

value = instance.ErrorCode

Syntax

'Declaration
Public ReadOnly Property ErrorCode As Integer
public int ErrorCode { get; }
public:
property int ErrorCode {
    int get ();
}
/** @property */
public int get_ErrorCode ()
public function get ErrorCode () : int

Property Value

An Int32 that identifies the error that occurred with DSC. The value corresponds to one of the fields of the DscErrorCode class.

Remarks

Platform Note: This property was introduced in Windows HPC Server 2008 R2 with Service Pack 2 (SP2) and is not supported in previous versions.

Thread Safety

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

Platforms

Development Platforms

Windows XP, Windows Vista, Windows 7, Windows 8, Windows Server 2003, Windows Server 2008, Windows Server 2008 R2, Windows Server 2012

Target Platforms

Windows XP, Windows Vista, Windows 7, Windows Server 2003, Windows Server 2003 R2, Windows Server 2008, Windows Server 2008 R2, with HPC Pack Client Utilities

See Also

Reference

DscException Class
DscException Members
Microsoft.Hpc.Dsc Namespace
Message
DscErrorCode

Build Date:

2013-04-22