Share via


ActivityHandler.InvokeResponseException Constructors

Definition

Overloads

ActivityHandler.InvokeResponseException()

Initializes a new instance of the ActivityHandler.InvokeResponseException class.

ActivityHandler.InvokeResponseException(String)

Initializes a new instance of the ActivityHandler.InvokeResponseException class.

ActivityHandler.InvokeResponseException(HttpStatusCode, Object)

Initializes a new instance of the ActivityHandler.InvokeResponseException class.

ActivityHandler.InvokeResponseException(String, Exception)

Initializes a new instance of the ActivityHandler.InvokeResponseException class.

ActivityHandler.InvokeResponseException()

Initializes a new instance of the ActivityHandler.InvokeResponseException class.

public InvokeResponseException ();
Public Sub New ()

Applies to

ActivityHandler.InvokeResponseException(String)

Initializes a new instance of the ActivityHandler.InvokeResponseException class.

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

Parameters

message
String

The message that explains the reason for the exception, or an empty string.

Applies to

ActivityHandler.InvokeResponseException(HttpStatusCode, Object)

Initializes a new instance of the ActivityHandler.InvokeResponseException class.

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)

Parameters

statusCode
HttpStatusCode

The Http status code of the error.

body
Object

The body of the exception. Default is null.

Applies to

ActivityHandler.InvokeResponseException(String, Exception)

Initializes a new instance of the ActivityHandler.InvokeResponseException class.

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)

Parameters

message
String

The message that explains the reason for the exception, or an empty string.

innerException
Exception

Gets the System.Exception instance that caused the current exception.

Applies to