다음을 통해 공유


WSTrustServiceContract 클래스

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

네임스페이스: Microsoft.IdentityModel.Protocols.WSTrust
어셈블리: Microsoft.IdentityModel(microsoft.identitymodel.dll에 있음)

사용법

    Dim instance As WSTrustServiceContract

구문

‘선언
<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

상속 계층 구조

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

스레드 안전성

이 유형의 공용 정적(Visual Basic에서는 Shared) 멤버는 모두 스레드로부터 안전합니다.인스턴스 멤버는 스레드로부터 안전하지 않을 수 있습니다.

플랫폼

개발 플랫폼

Windows Server 2003, Windows Vista

Target Platforms

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

참고 항목

참조

WSTrustServiceContract 멤버
Microsoft.IdentityModel.Protocols.WSTrust 네임스페이스