Definition of Trust Contract
Implementation. Implements the following ServiceContract
interfaces, 1. IWSTrustFeb2005SyncContract 2.
IWSTrust13SyncContract 3. IWSTrustFeb2005AsyncContract 4.
IWSTrust13AsyncContract
Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in
microsoft.identitymodel.dll)
Usage
Syntax
Visual Basic |
<AspNetCompatibilityRequirementsAttribute(RequirementsMode:=AspNetCompatibilityRequirementsMode.Allowed)> _
<ServiceBehaviorAttribute(Name:="SecurityTokenService", Namespace:="http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice", InstanceContextMode:=InstanceContextMode.Single, ConcurrencyMode:=ConcurrencyMode.Multiple)> _
Public Class WSTrustServiceContract
Implements IWSTrustFeb2005SyncContract, IWSTrust13SyncContract, IWSTrustFeb2005AsyncContract, IWSTrust13AsyncContract, _
IWsdlExportExtension, IContractBehavior
|
C# |
[AspNetCompatibilityRequirementsAttribute(RequirementsMode=AspNetCompatibilityRequirementsMode.Allowed)]
[ServiceBehaviorAttribute(Name="SecurityTokenService", Namespace="http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice", InstanceContextMode=InstanceContextMode.Single, ConcurrencyMode=ConcurrencyMode.Multiple)]
public class WSTrustServiceContract : IWSTrustFeb2005SyncContract, IWSTrust13SyncContract, IWSTrustFeb2005AsyncContract,
IWSTrust13AsyncContract, IWsdlExportExtension, IContractBehavior
|
C++ |
[AspNetCompatibilityRequirementsAttribute(RequirementsMode=AspNetCompatibilityRequirementsMode::Allowed)]
[ServiceBehaviorAttribute(Name=L"SecurityTokenService", Namespace=L"http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice", InstanceContextMode=InstanceContextMode::Single, ConcurrencyMode=ConcurrencyMode::Multiple)]
public ref class WSTrustServiceContract : IWSTrustFeb2005SyncContract, IWSTrust13SyncContract, IWSTrustFeb2005AsyncContract,
IWSTrust13AsyncContract, IWsdlExportExtension, IContractBehavior
|
J# |
/** @attribute AspNetCompatibilityRequirementsAttribute(RequirementsMode=AspNetCompatibilityRequirementsMode.Allowed) */
/** @attribute ServiceBehaviorAttribute(Name="SecurityTokenService", Namespace="http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice", InstanceContextMode=InstanceContextMode.Single, ConcurrencyMode=ConcurrencyMode.Multiple) */
public class WSTrustServiceContract implements IWSTrustFeb2005SyncContract, IWSTrust13SyncContract,
IWSTrustFeb2005AsyncContract, IWSTrust13AsyncContract, IWsdlExportExtension, IContractBehavior
|
JScript |
AspNetCompatibilityRequirementsAttribute(RequirementsMode=AspNetCompatibilityRequirementsMode.Allowed)
ServiceBehaviorAttribute(Name="SecurityTokenService", Namespace="http://schemas.microsoft.com/ws/2008/06/identity/securitytokenservice", InstanceContextMode=InstanceContextMode.Single, ConcurrencyMode=ConcurrencyMode.Multiple)
public class WSTrustServiceContract implements IWSTrustFeb2005SyncContract, IWSTrust13SyncContract,
IWSTrustFeb2005AsyncContract, IWSTrust13AsyncContract, IWsdlExportExtension, IContractBehavior
|
Inheritance
Hierarchy
System.Object
Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract
Thread Safety
Any public static (Shared in Visual
Basic) members of this type are thread safe. Any instance members
are not guaranteed to be thread safe.
Platforms
Development Platforms
Windows Server 2003, Windows Vista
Target Platforms
Windows Server 2008, Windows Vista, Not tested on Windows XP
See Also