ConnectorException(String, String, Int32, String) Constructor

Definition

Initializes a new instance of the ConnectorException class.

public ConnectorException(string connectorName, string operation, int statusCode, string? responseBody);
new Azure.Connectors.Sdk.ConnectorException : string * string * int * string -> Azure.Connectors.Sdk.ConnectorException
Public Sub New (connectorName As String, operation As String, statusCode As Integer, responseBody As String)

Parameters

connectorName
String

The connector name (e.g., "office365").

operation
String

The operation that failed (e.g., "POST /Mail").

statusCode
Int32

The HTTP status code.

responseBody
String

The response body from the connector service, or null if unavailable.

Applies to