Compartilhar via


IntuneAppProtectionPolicyRequiredException(String, String) Constructor

Definition

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.

Applies to