AuthenticationException コンストラクター
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
AuthenticationException クラスの新しいインスタンスを初期化します。
オーバーロード
| 名前 | 説明 |
|---|---|
| AuthenticationException() |
メッセージなしで、 AuthenticationException クラスの新しいインスタンスを初期化します。 |
| AuthenticationException(String) |
指定したメッセージを使用して、 AuthenticationException クラスの新しいインスタンスを初期化します。 |
| AuthenticationException(SerializationInfo, StreamingContext) |
古い.
SerializationInfoクラスとStreamingContext クラスの指定したインスタンスから、AuthenticationException クラスの新しいインスタンスを初期化します。 |
| AuthenticationException(String, Exception) |
指定したメッセージと内部例外を使用して、 AuthenticationException クラスの新しいインスタンスを初期化します。 |
AuthenticationException()
メッセージなしで、 AuthenticationException クラスの新しいインスタンスを初期化します。
public:
AuthenticationException();
public AuthenticationException();
Public Sub New ()
注釈
このコンストラクターは何も行いません。
適用対象
AuthenticationException(String)
指定したメッセージを使用して、 AuthenticationException クラスの新しいインスタンスを初期化します。
public:
AuthenticationException(System::String ^ message);
public AuthenticationException(string? message);
public AuthenticationException(string message);
new System.Security.Authentication.AuthenticationException : string -> System.Security.Authentication.AuthenticationException
Public Sub New (message As String)
パラメーター
注釈
このコンストラクターは、message パラメーターのテキストを使用して、Message プロパティを初期化します。
InnerException プロパティが null に設定されている。
こちらもご覧ください
適用対象
AuthenticationException(SerializationInfo, StreamingContext)
注意事項
This API supports obsolete formatter-based serialization. It should not be called or extended by application code.
SerializationInfoクラスとStreamingContext クラスの指定したインスタンスから、AuthenticationException クラスの新しいインスタンスを初期化します。
protected:
AuthenticationException(System::Runtime::Serialization::SerializationInfo ^ serializationInfo, System::Runtime::Serialization::StreamingContext streamingContext);
[System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")]
protected AuthenticationException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
protected AuthenticationException(System.Runtime.Serialization.SerializationInfo serializationInfo, System.Runtime.Serialization.StreamingContext streamingContext);
[<System.Obsolete("This API supports obsolete formatter-based serialization. It should not be called or extended by application code.", DiagnosticId="SYSLIB0051", UrlFormat="https://aka.ms/dotnet-warnings/{0}")>]
new System.Security.Authentication.AuthenticationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Security.Authentication.AuthenticationException
new System.Security.Authentication.AuthenticationException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.Security.Authentication.AuthenticationException
Protected Sub New (serializationInfo As SerializationInfo, streamingContext As StreamingContext)
パラメーター
- serializationInfo
- SerializationInfo
新しいAuthenticationException インスタンスを逆シリアル化するために必要な情報を含むSerializationInfo インスタンス。
- streamingContext
- StreamingContext
StreamingContext インスタンス。
- 属性
こちらもご覧ください
適用対象
AuthenticationException(String, Exception)
指定したメッセージと内部例外を使用して、 AuthenticationException クラスの新しいインスタンスを初期化します。
public:
AuthenticationException(System::String ^ message, Exception ^ innerException);
public AuthenticationException(string? message, Exception? innerException);
public AuthenticationException(string message, Exception innerException);
new System.Security.Authentication.AuthenticationException : string * Exception -> System.Security.Authentication.AuthenticationException
Public Sub New (message As String, innerException As Exception)
パラメーター
注釈
このコンストラクターは、message パラメーター内のテキストを使用してMessage プロパティを初期化し、innerException パラメーター値を使用してInnerException プロパティを初期化します。