IntuneAppProtectionPolicyRequiredException(String, String) Constructor
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.
Initializes a new instance of the exception class with a specified error code and error message.
public IntuneAppProtectionPolicyRequiredException (string errorCode, string errorMessage);
new Microsoft.Identity.Client.IntuneAppProtectionPolicyRequiredException : string * string -> Microsoft.Identity.Client.IntuneAppProtectionPolicyRequiredException
Public Sub New (errorCode As String, errorMessage As String)
Parameters
- errorCode
- String
The error code returned by the service or generated by the client. This is the code you can rely on for exception handling.
- errorMessage
- String
The error message that explains the reason for the exception.