SecurityTokenInvalidAlgorithmException Constructors
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.
Overloads
SecurityTokenInvalidAlgorithmException() |
Initializes a new instance of the SecurityTokenInvalidAlgorithmException class. |
SecurityTokenInvalidAlgorithmException(String) |
Initializes a new instance of the SecurityTokenInvalidAlgorithmException class. |
SecurityTokenInvalidAlgorithmException(SerializationInfo, StreamingContext) |
Obsolete.
Initializes a new instance of the SecurityTokenInvalidTypeException class. |
SecurityTokenInvalidAlgorithmException(String, Exception) |
Initializes a new instance of the SecurityTokenInvalidAlgorithmException class. |
SecurityTokenInvalidAlgorithmException()
Initializes a new instance of the SecurityTokenInvalidAlgorithmException class.
public SecurityTokenInvalidAlgorithmException();
Public Sub New ()
Applies to
SecurityTokenInvalidAlgorithmException(String)
Initializes a new instance of the SecurityTokenInvalidAlgorithmException class.
public SecurityTokenInvalidAlgorithmException(string message);
new Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAlgorithmException : string -> Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAlgorithmException
Public Sub New (message As String)
Parameters
- message
- String
Additional information to be included in the exception and displayed to user.
Applies to
SecurityTokenInvalidAlgorithmException(SerializationInfo, StreamingContext)
Caution
Formatter-based serialization is obsolete
Initializes a new instance of the SecurityTokenInvalidTypeException class.
[System.Obsolete("Formatter-based serialization is obsolete", DiagnosticId="SYSLIB0051")]
protected SecurityTokenInvalidAlgorithmException(System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
[<System.Obsolete("Formatter-based serialization is obsolete", DiagnosticId="SYSLIB0051")>]
new Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAlgorithmException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAlgorithmException
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.
- Attributes
Applies to
SecurityTokenInvalidAlgorithmException(String, Exception)
Initializes a new instance of the SecurityTokenInvalidAlgorithmException class.
public SecurityTokenInvalidAlgorithmException(string message, Exception innerException);
new Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAlgorithmException : string * Exception -> Microsoft.IdentityModel.Tokens.SecurityTokenInvalidAlgorithmException
Public Sub New (message As String, innerException As Exception)
Parameters
- message
- String
Additional information to be included in the exception and displayed to user.