Compartir a través de


WSTrustServiceContract (Clase)

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

Espacio de nombres: Microsoft.IdentityModel.Protocols.WSTrust
Ensamblado: Microsoft.IdentityModel (en microsoft.identitymodel.dll)

Uso

    Dim instance As WSTrustServiceContract

Sintaxis

'Declaración
<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

Jerarquía de herencia

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

Seguridad para subprocesos

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para subprocesos.No se garantiza que los miembros de instancias sean seguros para subprocesos.

Plataformas

Plataformas de desarrollo

Windows Server 2003, Windows Vista

Target Platforms

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

Vea también

Referencia

WSTrustServiceContract (Miembros)
Microsoft.IdentityModel.Protocols.WSTrust (Espacio de nombres)