Język

ActivityHandler.InvokeResponseException Konstruktory

Definicja

Przeciążenia

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

Wiadomość wyjaśniająca powód wyjątku lub pusty ciąg znaków.

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 statusu HTTP tego błędu.

body
Object

Ciało 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

Wiadomość wyjaśniająca powód wyjątku lub pusty ciąg znaków.

innerException
Exception

Otrzymuje instancję System.Exception, która spowodowała obecny wyjątek.

Dotyczy