ErrorResourceId Property

Important

This content is archived and is not being updated. For the latest documentation, see Microsoft Dynamics 365 product documentation. For the latest release plans, see Dynamics 365 and Microsoft Power Platform release plans.

Gets or sets the error resource identifier associated with this exception.

Namespace:  Microsoft.Dynamics.Commerce.Runtime
Assembly:  Microsoft.Dynamics.Commerce.Runtime.Framework (in Microsoft.Dynamics.Commerce.Runtime.Framework.dll)

Syntax

'Declaration
Public Property ErrorResourceId As String
    Get
    Protected Set
'Usage
Dim instance As CommerceRuntimeException
Dim value As String

value = instance.ErrorResourceId

instance.ErrorResourceId = value
public string ErrorResourceId { get; protected set; }
public:
property String^ ErrorResourceId {
    String^ get ();
    protected: void set (String^ value);
}

Property Value

Type: System.String
The error code.

See Also

Reference

CommerceRuntimeException Class

Microsoft.Dynamics.Commerce.Runtime Namespace