Partilhar via


LoggerException.ErrorCode Property

Definition

Gets the error code associated with this exception's message (not the inner exception).

public:
 property System::String ^ ErrorCode { System::String ^ get(); };
public string ErrorCode { get; }
public string ErrorCode { [System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")] get; }
member this.ErrorCode : string
[<get: System.Runtime.TargetedPatchingOptOut("Performance critical to inline this type of method across NGen image boundaries")>]
member this.ErrorCode : string
Public ReadOnly Property ErrorCode As String

Property Value

The error code string.

Attributes

Applies to