BotHandlerException Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| BotHandlerException() |
Initializes a new instance of the BotHandlerException class. |
| BotHandlerException(String) |
Initializes a new instance of the BotHandlerException class with a specified error message. |
| BotHandlerException(String, Exception) |
Initializes a new instance of the BotHandlerException class with a specified error message and inner exception. |
| BotHandlerException(String, Exception, CoreActivity) |
Initializes a new instance of the BotHandlerException class with a specified error message, inner exception, and activity. |
BotHandlerException()
Initializes a new instance of the BotHandlerException class.
public BotHandlerException();
Public Sub New ()
Applies to
BotHandlerException(String)
Initializes a new instance of the BotHandlerException class with a specified error message.
public BotHandlerException(string message);
new Microsoft.Teams.Core.BotHandlerException : string -> Microsoft.Teams.Core.BotHandlerException
Public Sub New (message As String)
Parameters
- message
- String
The error message that describes the reason for the exception.
Applies to
BotHandlerException(String, Exception)
Initializes a new instance of the BotHandlerException class with a specified error message and inner exception.
public BotHandlerException(string message, Exception innerException);
new Microsoft.Teams.Core.BotHandlerException : string * Exception -> Microsoft.Teams.Core.BotHandlerException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
The error message that describes the reason for the exception.
- innerException
- Exception
The underlying exception that caused this exception, or null if no inner exception is specified.
Applies to
BotHandlerException(String, Exception, CoreActivity)
Initializes a new instance of the BotHandlerException class with a specified error message, inner exception, and activity.
public BotHandlerException(string message, Exception innerException, Microsoft.Teams.Core.Schema.CoreActivity activity);
new Microsoft.Teams.Core.BotHandlerException : string * Exception * Microsoft.Teams.Core.Schema.CoreActivity -> Microsoft.Teams.Core.BotHandlerException
Public Sub New (message As String, innerException As Exception, activity As CoreActivity)
Parameters
- message
- String
The error message that describes the reason for the exception.
- innerException
- Exception
The underlying exception that caused this exception, or null if no inner exception is specified.
- activity
- CoreActivity
The bot activity associated with the error. Cannot be null.