Sprache

ActivityHandler.InvokeResponseException Konstruktoren

Definition

Überlädt

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 Nachricht, die den Grund für die Ausnahme erklärt, oder eine leere Zeichenkette.

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 Textkörper der Ausnahme. Der Standardwert ist 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 Nachricht, die den Grund für die Ausnahme erklärt, oder eine leere Zeichenkette.

innerException
Exception

Erhält die System.Exception-Instanz, die die aktuelle Ausnahme verursacht hat.

Gilt für: