Sdílet prostřednictvím


ActivityHandler.InvokeResponseException Konstruktory

Definice

Přetížení

ActivityHandler.InvokeResponseException()

Inicializuje novou instanci ActivityHandler.InvokeResponseException třídy .

ActivityHandler.InvokeResponseException(String)

Inicializuje novou instanci ActivityHandler.InvokeResponseException třídy .

ActivityHandler.InvokeResponseException(HttpStatusCode, Object)

Inicializuje novou instanci ActivityHandler.InvokeResponseException třídy .

ActivityHandler.InvokeResponseException(String, Exception)

Inicializuje novou instanci ActivityHandler.InvokeResponseException třídy .

ActivityHandler.InvokeResponseException()

Inicializuje novou instanci ActivityHandler.InvokeResponseException třídy .

public InvokeResponseException();
Public Sub New ()

Platí pro

ActivityHandler.InvokeResponseException(String)

Inicializuje novou instanci ActivityHandler.InvokeResponseException třídy .

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

Parametry

message
String

Zpráva, která vysvětluje důvod výjimky nebo prázdný řetězec.

Platí pro

ActivityHandler.InvokeResponseException(HttpStatusCode, Object)

Inicializuje novou instanci ActivityHandler.InvokeResponseException třídy .

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)

Parametry

statusCode
HttpStatusCode

Stavový kód HTTP chyby.

body
Object

Tělo výjimky. Výchozí hodnota je null.

Platí pro

ActivityHandler.InvokeResponseException(String, Exception)

Inicializuje novou instanci ActivityHandler.InvokeResponseException třídy .

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)

Parametry

message
String

Zpráva, která vysvětluje důvod výjimky nebo prázdný řetězec.

innerException
Exception

Získá System.Exception instance, která způsobila aktuální výjimku.

Platí pro