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