BadInputException 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 |
|---|---|
| BadInputException(String) |
Constructor for BadInputException |
| BadInputException(String, BadInputErrorCode) |
Constructor for BadInputException |
BadInputException(String)
Constructor for BadInputException
public BadInputException(string message);
new Microsoft.InformationProtection.Exceptions.BadInputException : string -> Microsoft.InformationProtection.Exceptions.BadInputException
Public Sub New (message As String)
Parameters
- message
- String
The message that describes the error
Applies to
BadInputException(String, BadInputErrorCode)
Constructor for BadInputException
public BadInputException(string message, Microsoft.InformationProtection.BadInputErrorCode errorCode);
public BadInputException(string message, Microsoft.InformationProtection.BadInputErrorCode errorCode = Microsoft.InformationProtection.BadInputErrorCode.General);
new Microsoft.InformationProtection.Exceptions.BadInputException : string * Microsoft.InformationProtection.BadInputErrorCode -> Microsoft.InformationProtection.Exceptions.BadInputException
Public Sub New (message As String, errorCode As BadInputErrorCode)
Public Sub New (message As String, Optional errorCode As BadInputErrorCode = Microsoft.InformationProtection.BadInputErrorCode.General)
Parameters
- message
- String
The message that describes the error
- errorCode
- BadInputErrorCode
Category of bad input error