Udostępnij przez


ActivityHandler.InvokeResponseException Konstruktory

Definicja

Przeciążenia

ActivityHandler.InvokeResponseException()

Inicjuje nowe wystąpienie klasy ActivityHandler.InvokeResponseException.

ActivityHandler.InvokeResponseException(String)

Inicjuje nowe wystąpienie klasy ActivityHandler.InvokeResponseException.

ActivityHandler.InvokeResponseException(HttpStatusCode, Object)

Inicjuje nowe wystąpienie klasy ActivityHandler.InvokeResponseException.

ActivityHandler.InvokeResponseException(String, Exception)

Inicjuje nowe wystąpienie klasy ActivityHandler.InvokeResponseException.

ActivityHandler.InvokeResponseException()

Inicjuje nowe wystąpienie klasy ActivityHandler.InvokeResponseException.

public InvokeResponseException();
Public Sub New ()

Dotyczy

ActivityHandler.InvokeResponseException(String)

Inicjuje nowe wystąpienie klasy ActivityHandler.InvokeResponseException.

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

Komunikat wyjaśniający przyczynę wyjątku lub pusty ciąg.

Dotyczy

ActivityHandler.InvokeResponseException(HttpStatusCode, Object)

Inicjuje nowe wystąpienie klasy ActivityHandler.InvokeResponseException.

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

Kod stanu HTTP błędu.

body
Object

Treść wyjątku. Wartość domyślna to null.

Dotyczy

ActivityHandler.InvokeResponseException(String, Exception)

Inicjuje nowe wystąpienie klasy ActivityHandler.InvokeResponseException.

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

Komunikat wyjaśniający przyczynę wyjątku lub pusty ciąg.

innerException
Exception

Pobiera wystąpienie System.Exception, które spowodowało bieżący wyjątek.

Dotyczy