HTTP API Toolkit HTTP API Toolkit
HTTP API Toolkit HTTP API Toolkit
DocFX + Singulink = ♥

Search Results for

    Method WithMessage

    WithMessage(string)

    Creates a copy of the exception with another message. The copy keeps the status code, the error code, the retry time, the reference ID, the error content, the location, the expected user ID of a UserChangedApiException, the data (Data) and the inner exception. It is of the toolkit's exception type for the status code, such as ConflictApiException for 409, also when the exception is of a type derived from it, whose own members it doesn't keep. It has no stack trace, and doesn't keep HResult, HelpLink or Source.

    Declaration
    public ApiException WithMessage(string message)
    Parameters
    Type Name Description
    string message

    The message of the copy.

    Returns
    Type Description
    ApiException
    © Singulink. All rights reserved.