BootstrapContext BootstrapContext BootstrapContext BootstrapContext Class

定义

包含在登录时使用的原始标记的一个序列化版本。Contains a serialized version of the original token that was used at sign-in time.

public ref class BootstrapContext : System::Runtime::Serialization::ISerializable
[System.Serializable]
public class BootstrapContext : System.Runtime.Serialization.ISerializable
type BootstrapContext = class
    interface ISerializable
Public Class BootstrapContext
Implements ISerializable
继承
BootstrapContextBootstrapContextBootstrapContextBootstrapContext
属性
实现

构造函数

BootstrapContext(Byte[]) BootstrapContext(Byte[]) BootstrapContext(Byte[]) BootstrapContext(Byte[])

使用指定的数组初始化 BootstrapContext 类的新实例。Initializes a new instance of the BootstrapContext class by using the specified array.

BootstrapContext(SecurityToken, SecurityTokenHandler) BootstrapContext(SecurityToken, SecurityTokenHandler) BootstrapContext(SecurityToken, SecurityTokenHandler) BootstrapContext(SecurityToken, SecurityTokenHandler)

使用指定安全标记标记处理程序初始化 BootstrapContext 类的新实例。Initializes a new instance of the BootstrapContext class by using the specified security token and token handler.

BootstrapContext(SerializationInfo, StreamingContext) BootstrapContext(SerializationInfo, StreamingContext) BootstrapContext(SerializationInfo, StreamingContext) BootstrapContext(SerializationInfo, StreamingContext)

从流中初始化 BootstrapContext 类的新实例。Initializes a new instance of the BootstrapContext class from a stream.

BootstrapContext(String) BootstrapContext(String) BootstrapContext(String) BootstrapContext(String)

使用指定的字符串初始化 BootstrapContext 类的新实例。Initializes a new instance of the BootstrapContext class by using the specified string.

属性

SecurityToken SecurityToken SecurityToken SecurityToken

获取用于初始化上下文的安全标记。Gets the security token that was used to initialize the context.

SecurityTokenHandler SecurityTokenHandler SecurityTokenHandler SecurityTokenHandler

获取用于初始化上下文的标记处理程序。Gets the token handler that was used to initialize the context.

Token Token Token Token

获取用于初始化上下文的字符串。Gets the string that was used to initialize the context.

TokenBytes TokenBytes TokenBytes TokenBytes

获取用于初始化上下文的数组。Gets the array that was used to initialize the context.

方法

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

确定指定的对象是否等于当前对象。Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

作为默认哈希函数。Serves as the default hash function.

(Inherited from Object)
GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext) GetObjectData(SerializationInfo, StreamingContext)

用序列化当前SerializationInfo 对象所需的数据来填充 BootstrapContextPopulates the SerializationInfo with data needed to serialize the current BootstrapContext object.

GetType() GetType() GetType() GetType()

获取当前实例的 TypeGets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

创建当前 Object 的浅表副本。Creates a shallow copy of the current Object.

(Inherited from Object)
ToString() ToString() ToString() ToString()

返回表示当前对象的字符串。Returns a string that represents the current object.

(Inherited from Object)

适用于