AdalServiceException Constructor (String, String, String[], WebException)
Applies to: Version: 2.19.208020213, Platform: .NET Desktop.
Initializes a new instance of the exception class with a specified error code, error message and a reference to the inner exception that is the cause of this exception.
Namespace: Microsoft.IdentityModel.Clients.ActiveDirectory
Assembly: Microsoft.IdentityModel.Clients.ActiveDirectory (in Microsoft.IdentityModel.Clients.ActiveDirectory.dll)
Syntax
public AdalServiceException(
string errorCode,
string message,
string[] serviceErrorCodes,
WebException innerException
)
Parameters
errorCode
Type: System.StringThe protocol error code returned by the service or generated by client. This is the code you can rely on for exception handling.
message
Type: System.StringThe error message that explains the reason for the exception.
serviceErrorCodes
Type: System.String[]The specific error codes that may be returned by the service.
innerException
Type: System.Net.WebExceptionThe exception that is the cause of the current exception, or a null reference if no inner exception is specified. It may especially contain the actual error message returned by the service.
See Also
AdalServiceException Overload
AdalServiceException Class
Microsoft.IdentityModel.Clients.ActiveDirectory Namespace
Return to top