Freigeben über


ActivityHandler.InvokeResponseException Konstruktoren

Definition

Überlädt

ActivityHandler.InvokeResponseException()

Initialisiert eine neue Instanz der ActivityHandler.InvokeResponseException-Klasse.

ActivityHandler.InvokeResponseException(String)

Initialisiert eine neue Instanz der ActivityHandler.InvokeResponseException-Klasse.

ActivityHandler.InvokeResponseException(HttpStatusCode, Object)

Initialisiert eine neue Instanz der ActivityHandler.InvokeResponseException-Klasse.

ActivityHandler.InvokeResponseException(String, Exception)

Initialisiert eine neue Instanz der ActivityHandler.InvokeResponseException-Klasse.

ActivityHandler.InvokeResponseException()

Initialisiert eine neue Instanz der ActivityHandler.InvokeResponseException-Klasse.

public InvokeResponseException ();
Public Sub New ()

Gilt für:

ActivityHandler.InvokeResponseException(String)

Initialisiert eine neue Instanz der ActivityHandler.InvokeResponseException-Klasse.

public InvokeResponseException (string message);
new Microsoft.Bot.Builder.ActivityHandler.InvokeResponseException : string -> Microsoft.Bot.Builder.ActivityHandler.InvokeResponseException
Public Sub New (message As String)

Parameter

message
String

Die Meldung, die den Grund für die Ausnahme oder eine leere Zeichenfolge erläutert.

Gilt für:

ActivityHandler.InvokeResponseException(HttpStatusCode, Object)

Initialisiert eine neue Instanz der ActivityHandler.InvokeResponseException-Klasse.

public InvokeResponseException (System.Net.HttpStatusCode statusCode, object body = default);
new Microsoft.Bot.Builder.ActivityHandler.InvokeResponseException : System.Net.HttpStatusCode * obj -> Microsoft.Bot.Builder.ActivityHandler.InvokeResponseException
Public Sub New (statusCode As HttpStatusCode, Optional body As Object = Nothing)

Parameter

statusCode
HttpStatusCode

Der HTTP-Statuscode des Fehlers.

body
Object

Der Text der Ausnahme. Der Standardwert lautet null.

Gilt für:

ActivityHandler.InvokeResponseException(String, Exception)

Initialisiert eine neue Instanz der ActivityHandler.InvokeResponseException-Klasse.

public InvokeResponseException (string message, Exception innerException);
new Microsoft.Bot.Builder.ActivityHandler.InvokeResponseException : string * Exception -> Microsoft.Bot.Builder.ActivityHandler.InvokeResponseException
Public Sub New (message As String, innerException As Exception)

Parameter

message
String

Die Meldung, die den Grund für die Ausnahme oder eine leere Zeichenfolge erläutert.

innerException
Exception

Ruft die System.Exception-Instanz ab, die die aktuelle Ausnahme verursacht hat.

Gilt für: