AuthenticationException クラス

定義

認証ストリームの認証が失敗した場合にスローされる例外。

public ref class AuthenticationException : SystemException
public ref class AuthenticationException : Exception
public class AuthenticationException : SystemException
public class AuthenticationException : Exception
[System.Serializable]
public class AuthenticationException : SystemException
type AuthenticationException = class
    inherit SystemException
type AuthenticationException = class
    inherit Exception
[<System.Serializable>]
type AuthenticationException = class
    inherit SystemException
Public Class AuthenticationException
Inherits SystemException
Public Class AuthenticationException
Inherits Exception
継承
AuthenticationException
継承
AuthenticationException
派生
属性

NegotiateStream | SslStream

注釈

NegotiateStreamクラスとSslStream クラスは、クライアントまたはサーバーを認証できない場合にこの例外をスローします。 この例外がスローされたら、別の資格情報で認証を再試行できます。 認証を再試行できない場合は、InvalidCredentialExceptionの代わりにAuthenticationExceptionがスローされます。

コンストラクター

名前 説明
AuthenticationException()

メッセージなしで、 AuthenticationException クラスの新しいインスタンスを初期化します。

AuthenticationException(SerializationInfo, StreamingContext)
古い.

AuthenticationExceptionクラスとSerializationInfo クラスの指定したインスタンスから、StreamingContext クラスの新しいインスタンスを初期化します。

AuthenticationException(String, Exception)

指定したメッセージと内部例外を使用して、 AuthenticationException クラスの新しいインスタンスを初期化します。

AuthenticationException(String)

指定したメッセージを使用して、 AuthenticationException クラスの新しいインスタンスを初期化します。

プロパティ

名前 説明
Data

例外に関する追加のユーザー定義情報を提供するキーと値のペアのコレクションを取得します。

(継承元 Exception)
HelpLink

この例外に関連付けられているヘルプ ファイルへのリンクを取得または設定します。

(継承元 Exception)
HResult

特定の例外に割り当てられるコード化された数値である HRESULT を取得または設定します。

(継承元 Exception)
InnerException

現在の例外の原因となった Exception インスタンスを取得します。

(継承元 Exception)
Message

現在の例外を説明するメッセージを取得します。

(継承元 Exception)
Source

エラーの原因となるアプリケーションまたはオブジェクトの名前を取得または設定します。

(継承元 Exception)
StackTrace

呼び出し履歴のイミディエイト フレームの文字列表現を取得します。

(継承元 Exception)
TargetSite

現在の例外をスローするメソッドを取得します。

(継承元 Exception)

メソッド

名前 説明
Equals(Object)

指定したオブジェクトが現在のオブジェクトと等しいかどうかを判断します。

(継承元 Object)
GetBaseException()

派生クラスでオーバーライドされた場合、1 つ以上の後続の例外の根本原因である Exception を返します。

(継承元 Exception)
GetHashCode()

既定のハッシュ関数として機能します。

(継承元 Object)
GetObjectData(SerializationInfo, StreamingContext)
古い.

派生クラスでオーバーライドされた場合は、例外に関する情報を使用して SerializationInfo を設定します。

(継承元 Exception)
GetType()

現在のインスタンスのランタイム型を取得します。

(継承元 Exception)
MemberwiseClone()

現在の Objectの簡易コピーを作成します。

(継承元 Object)
ToString()

現在の例外の文字列形式を作成して返します。

(継承元 Exception)

イベント

名前 説明
SerializeObjectState
古い.

例外に関するシリアル化されたデータを含む例外状態オブジェクトを作成するために例外がシリアル化されるときに発生します。

(継承元 Exception)

適用対象