Share via


OpenIdConnectProtocolException Constructors

Definition

Overloads

OpenIdConnectProtocolException()

Initializes a new instance of the OpenIdConnectProtocolException class.

OpenIdConnectProtocolException(String)

Initializes a new instance of the OpenIdConnectProtocolException class.

OpenIdConnectProtocolException(SerializationInfo, StreamingContext)

Initializes a new instance of the OpenIdConnectProtocolException class.

OpenIdConnectProtocolException(String, Exception)

Initializes a new instance of the OpenIdConnectProtocolException class.

OpenIdConnectProtocolException()

Initializes a new instance of the OpenIdConnectProtocolException class.

public OpenIdConnectProtocolException ();
Public Sub New ()

Applies to

OpenIdConnectProtocolException(String)

Initializes a new instance of the OpenIdConnectProtocolException class.

public OpenIdConnectProtocolException (string message);
new Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolException : string -> Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolException
Public Sub New (message As String)

Parameters

message
String

Addtional information to be included in the exception and displayed to user.

Applies to

OpenIdConnectProtocolException(SerializationInfo, StreamingContext)

Initializes a new instance of the OpenIdConnectProtocolException class.

protected OpenIdConnectProtocolException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolException
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Parameters

info
SerializationInfo

the SerializationInfo that holds the serialized object data.

context
StreamingContext

The contextual information about the source or destination.

Applies to

OpenIdConnectProtocolException(String, Exception)

Initializes a new instance of the OpenIdConnectProtocolException class.

public OpenIdConnectProtocolException (string message, Exception innerException);
new Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolException : string * Exception -> Microsoft.IdentityModel.Protocols.OpenIdConnect.OpenIdConnectProtocolException
Public Sub New (message As String, innerException As Exception)

Parameters

message
String

Addtional information to be included in the exception and displayed to user.

innerException
Exception

A Exception that represents the root cause of the exception.

Applies to