Op Englesch liesen

Deelen iwwer


ErrorCodes Class

Definition

Defines error codes to use for ErrorCode. Servers should throw RemoteInvocationException with the appropriate error code when an existing .NET exception does not exist for the condition being reported.

See https://github.com/microsoft/vs-streamjsonrpc/blob/master/doc/exceptions.md.

C++
public ref class ErrorCodes abstract sealed
Inheritance
ErrorCodes

Remarks

None of the error codes defined herein should be in the range [-32768, -32000], since those values are reserved by the JSON-RPC protocol.

See https://www.jsonrpc.org/specification#error_object.

Fields

FileAlreadyExists

The error code indicating that a file already exists.

Methods

Applies to

Produkt Versiounen
Visual Studio SDK 2019, 2022