BootstrapContext Constructeurs

Définition

Initialise une nouvelle instance de la classe BootstrapContext.

Surcharges

BootstrapContext(Byte[])

Initialise une nouvelle instance de la classe BootstrapContext à l'aide du tableau spécifié.

BootstrapContext(String)

Initialise une nouvelle instance de la classe BootstrapContext à l'aide de la chaîne spécifiée.

BootstrapContext(SecurityToken, SecurityTokenHandler)

Initialise une nouvelle instance de la classe BootstrapContext à l'aide du jeton de sécurité et du gestionnaire de jetons spécifiés.

BootstrapContext(SerializationInfo, StreamingContext)

Initialise une nouvelle instance de la classe BootstrapContext à partir d'un flux de données.

BootstrapContext(Byte[])

Initialise une nouvelle instance de la classe BootstrapContext à l'aide du tableau spécifié.

public:
 BootstrapContext(cli::array <System::Byte> ^ token);
public BootstrapContext (byte[] token);
new System.IdentityModel.Tokens.BootstrapContext : byte[] -> System.IdentityModel.Tokens.BootstrapContext
Public Sub New (token As Byte())

Paramètres

token
Byte[]

Tableau qui représente le jeton.

Exceptions

token a la valeur null.

S’applique à

BootstrapContext(String)

Initialise une nouvelle instance de la classe BootstrapContext à l'aide de la chaîne spécifiée.

public:
 BootstrapContext(System::String ^ token);
public BootstrapContext (string token);
new System.IdentityModel.Tokens.BootstrapContext : string -> System.IdentityModel.Tokens.BootstrapContext
Public Sub New (token As String)

Paramètres

token
String

Chaîne qui représente le jeton.

Exceptions

token a la valeur null.

S’applique à

BootstrapContext(SecurityToken, SecurityTokenHandler)

Initialise une nouvelle instance de la classe BootstrapContext à l'aide du jeton de sécurité et du gestionnaire de jetons spécifiés.

public:
 BootstrapContext(System::IdentityModel::Tokens::SecurityToken ^ token, System::IdentityModel::Tokens::SecurityTokenHandler ^ tokenHandler);
public BootstrapContext (System.IdentityModel.Tokens.SecurityToken token, System.IdentityModel.Tokens.SecurityTokenHandler tokenHandler);
new System.IdentityModel.Tokens.BootstrapContext : System.IdentityModel.Tokens.SecurityToken * System.IdentityModel.Tokens.SecurityTokenHandler -> System.IdentityModel.Tokens.BootstrapContext
Public Sub New (token As SecurityToken, tokenHandler As SecurityTokenHandler)

Paramètres

token
SecurityToken

Jeton de sécurité à sérialiser.

tokenHandler
SecurityTokenHandler

Gestionnaire avec lequel sérialiser le jeton.

Exceptions

token a la valeur null.

-ou-

tokenHandler a la valeur null.

Remarques

Le gestionnaire de jetons n’est pas utilisé pour désérialiser le jeton, car il ne peut pas être supposé exister au moment où le jeton est désérialisé.

S’applique à

BootstrapContext(SerializationInfo, StreamingContext)

Initialise une nouvelle instance de la classe BootstrapContext à partir d'un flux de données.

protected:
 BootstrapContext(System::Runtime::Serialization::SerializationInfo ^ info, System::Runtime::Serialization::StreamingContext context);
protected BootstrapContext (System.Runtime.Serialization.SerializationInfo info, System.Runtime.Serialization.StreamingContext context);
new System.IdentityModel.Tokens.BootstrapContext : System.Runtime.Serialization.SerializationInfo * System.Runtime.Serialization.StreamingContext -> System.IdentityModel.Tokens.BootstrapContext
Protected Sub New (info As SerializationInfo, context As StreamingContext)

Paramètres

info
SerializationInfo

Données sérialisées.

context
StreamingContext

Contexte de la sérialisation.

Exceptions

info a la valeur null.

S’applique à