BadInputException Constructors
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.
BadInputException(String) |
Constructor for BadInputException |
BadInputException(String, BadInputErrorCode) |
Constructor for BadInputException |
Constructor for BadInputException
C#
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
Microsoft.InformationProtection 1.16.126 och andra versioner
Produkt | Versioner |
---|---|
Microsoft.InformationProtection | 1.6.152, 1.10.93, 1.11.53, 1.12.61, 1.13.161, 1.14.108, 1.15.107, 1.16.126 |
Constructor for BadInputException
C#
public BadInputException (string message, Microsoft.InformationProtection.BadInputErrorCode errorCode);
C#
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
Applies to
Microsoft.InformationProtection 1.16.126 och andra versioner
Produkt | Versioner |
---|---|
Microsoft.InformationProtection | 1.7.133, 1.8.94, 1.9.78, 1.10.93, 1.11.53, 1.12.61, 1.13.161, 1.14.108, 1.15.107, 1.16.126 |