BotException 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
| BotException() |
default constructor |
| BotException(String) |
creates a new BotException |
| BotException(String, Exception, Boolean) |
wraps an exception into the BotException |
BotException()
default constructor
public BotException ();
Public Sub New ()
Applies to
BotException(String)
creates a new BotException
public BotException (string message);
new Microsoft.Bot.Builder.Calling.Exceptions.BotException : string -> Microsoft.Bot.Builder.Calling.Exceptions.BotException
Public Sub New (message As String)
Parameters
- message
- String
exception message
Applies to
BotException(String, Exception, Boolean)
wraps an exception into the BotException
public BotException (string message, Exception innerException, bool extendForInternalExceptionRemark = true);
new Microsoft.Bot.Builder.Calling.Exceptions.BotException : string * Exception * bool -> Microsoft.Bot.Builder.Calling.Exceptions.BotException
Public Sub New (message As String, innerException As Exception, Optional extendForInternalExceptionRemark As Boolean = true)
Parameters
- message
- String
exception message
- innerException
- Exception
wrapped exception
- extendForInternalExceptionRemark
- Boolean
if true, message is extended with internal exception message and remark to check it