LocalRpcException.ErrorCode Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the value for the error.code property.
public int ErrorCode { get; set; }
member this.ErrorCode : int with get, set
Public Property ErrorCode As Integer
Property Value
Remarks
The default value is set to a special general error code: InvocationError. This may be set to a more meaningful error code for the application that allows the client to programatically respond to the error condition. Application-defined values should avoid the [-32768, -32000] range, which is reserved for the JSON-RPC protocol itself.