共用方式為


ServiceException.IsMatch(String) Method

Definition

Checks if a given error code has been returned in the response at any level in the error stack.

public bool IsMatch (string errorCode);
member this.IsMatch : string -> bool
Public Function IsMatch (errorCode As String) As Boolean

Parameters

errorCode
String

The error code.

Returns

True if the error code is in the stack.

Applies to