Partager via


Classe WSTrustServiceContract

Definition of Trust Contract Implementation. Implements the following ServiceContract interfaces, 1. IWSTrustFeb2005SyncContract 2. IWSTrust13SyncContract 3. IWSTrustFeb2005AsyncContract 4. IWSTrust13AsyncContract

Espace de noms: Microsoft.IdentityModel.Protocols.WSTrust
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

    Dim instance As WSTrustServiceContract

Syntaxe

'Déclaration
<AspNetCompatibilityRequirementsAttribute(RequirementsMode:=AspNetCompatibilityRequirementsMode.Allowed)> _
<ServiceBehaviorAttribute(Name:="SecurityTokenService", Namespace:="https://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice", InstanceContextMode:=InstanceContextMode.Single, ConcurrencyMode:=ConcurrencyMode.Multiple)> _
Public Class WSTrustServiceContract
    Implements IWSTrustFeb2005SyncContract, IWSTrust13SyncContract, IWSTrustFeb2005AsyncContract, IWSTrust13AsyncContract, _
    IWsdlExportExtension, IContractBehavior
[AspNetCompatibilityRequirementsAttribute(RequirementsMode=AspNetCompatibilityRequirementsMode.Allowed)] 
[ServiceBehaviorAttribute(Name="SecurityTokenService", Namespace="https://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice", InstanceContextMode=InstanceContextMode.Single, ConcurrencyMode=ConcurrencyMode.Multiple)] 
public class WSTrustServiceContract : IWSTrustFeb2005SyncContract, IWSTrust13SyncContract, IWSTrustFeb2005AsyncContract, 
    IWSTrust13AsyncContract, IWsdlExportExtension, IContractBehavior
[AspNetCompatibilityRequirementsAttribute(RequirementsMode=AspNetCompatibilityRequirementsMode::Allowed)] 
[ServiceBehaviorAttribute(Name=L"SecurityTokenService", Namespace=L"https://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice", InstanceContextMode=InstanceContextMode::Single, ConcurrencyMode=ConcurrencyMode::Multiple)] 
public ref class WSTrustServiceContract : IWSTrustFeb2005SyncContract, IWSTrust13SyncContract, IWSTrustFeb2005AsyncContract, 
    IWSTrust13AsyncContract, IWsdlExportExtension, IContractBehavior
/** @attribute AspNetCompatibilityRequirementsAttribute(RequirementsMode=AspNetCompatibilityRequirementsMode.Allowed) */ 
/** @attribute ServiceBehaviorAttribute(Name="SecurityTokenService", Namespace="https://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice", InstanceContextMode=InstanceContextMode.Single, ConcurrencyMode=ConcurrencyMode.Multiple) */ 
public class WSTrustServiceContract implements IWSTrustFeb2005SyncContract, IWSTrust13SyncContract, 
    IWSTrustFeb2005AsyncContract, IWSTrust13AsyncContract, IWsdlExportExtension, IContractBehavior
AspNetCompatibilityRequirementsAttribute(RequirementsMode=AspNetCompatibilityRequirementsMode.Allowed) 
ServiceBehaviorAttribute(Name="SecurityTokenService", Namespace="https://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice", InstanceContextMode=InstanceContextMode.Single, ConcurrencyMode=ConcurrencyMode.Multiple) 
public class WSTrustServiceContract implements IWSTrustFeb2005SyncContract, IWSTrust13SyncContract, 
    IWSTrustFeb2005AsyncContract, IWSTrust13AsyncContract, IWsdlExportExtension, IContractBehavior

Hiérarchie d'héritage

System.Object
  Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract

Cohérence de thread

Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

Windows Server 2008, Windows Vista, Not tested on Windows XP

Voir aussi

Référence

Membres WSTrustServiceContract
Espace de noms Microsoft.IdentityModel.Protocols.WSTrust