ActivityHandler.InvokeResponseException Konstruktoren
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
Überlädt
| Name | Beschreibung |
|---|---|
| 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 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.