FederatedAuthenticationSessionEndingException 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
FederatedAuthenticationSessionEndingException()
public:
FederatedAuthenticationSessionEndingException();
public FederatedAuthenticationSessionEndingException ();
Public Sub New ()
适用于
FederatedAuthenticationSessionEndingException(String)
用指定的错误消息初始化 FederatedAuthenticationSessionEndingException 类的新实例。
public:
FederatedAuthenticationSessionEndingException(System::String ^ message);
public FederatedAuthenticationSessionEndingException (string message);
new System.IdentityModel.Services.FederatedAuthenticationSessionEndingException : string -> System.IdentityModel.Services.FederatedAuthenticationSessionEndingException
Public Sub New (message As String)
参数
- message
- String
描述错误的消息。
适用于
FederatedAuthenticationSessionEndingException(SerializationInfo, StreamingContext)
用序列化数据初始化 FederatedAuthenticationSessionEndingException 类的新实例。
protected:
FederatedAuthenticationSessionEndingException(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected FederatedAuthenticationSessionEndingException (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.IdentityModel.Services.FederatedAuthenticationSessionEndingException : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IdentityModel.Services.FederatedAuthenticationSessionEndingException
Protected Sub New (info As SerializationInfo, context As StreamingContext)
参数
- info
- SerializationInfo
包含有关所引发异常的序列化对象数据的 SerializationInfo。
- context
- StreamingContext
StreamingContext,它包含关于源或目标的上下文信息。
适用于
FederatedAuthenticationSessionEndingException(String, Exception)
使用指定的错误消息和对作为此异常原因的内部异常的引用来初始化 FederatedAuthenticationSessionEndingException 类的新实例。
public:
FederatedAuthenticationSessionEndingException(System::String ^ message, Exception ^ inner);
public FederatedAuthenticationSessionEndingException (string message, Exception inner);
new System.IdentityModel.Services.FederatedAuthenticationSessionEndingException : string * Exception -> System.IdentityModel.Services.FederatedAuthenticationSessionEndingException
Public Sub New (message As String, inner As Exception)
参数
- message
- String
描述错误的消息。
- inner
- Exception
作为当前异常原因的异常,如果没有指定内部异常,则为 null
。