Definition of Trust Contract Implementation. Implements the following ServiceContract interfaces, 1. IWSTrustFeb2005SyncContract 2. IWSTrust13SyncContract 3. IWSTrustFeb2005AsyncContract 4. IWSTrust13AsyncContract
下表列出了 WSTrustServiceContract 类型公开的成员。
Public 构造函数
| 名称 | 说明 | |
|---|---|---|
| WSTrustServiceContract | Initializes an instance of T:Microsoft.IdentityModel.Protocols.WSTrust.WSTrustServiceContract | 
页首
Public 属性
| 名称 | 说明 | |
|---|---|---|
![]()  | 
SecurityTokenServiceConfiguration | Gets the SecurityTokenServiceConfiguration. | 
页首
Public 方法
(另请参阅 Protected 方法)
| 名称 | 说明 | |
|---|---|---|
![]()  | 
AddBindingParameters | Inherited from IContractBehavior Configures any binding elements to support the contract behavior. | 
![]()  | 
ApplyClientBehavior | Inherited from IContractBehavior. The contract description for which the extension is intended. | 
![]()  | 
ApplyDispatchBehavior | Inherited from IContractBehavior. Implements a modification or extension of the client across a contract. | 
![]()  | 
BeginTrust13Cancel | Process an Asynchronous call to Trust Feb 1.3 Cancel message. | 
![]()  | 
BeginTrust13CancelResponse | |
![]()  | 
BeginTrust13Issue | Process an Asynchronous call to Trust 1.3 Issue message. | 
![]()  | 
BeginTrust13IssueResponse | |
![]()  | 
BeginTrust13Renew | Process an Asynchronous call to Trust 1.3 Renew message. | 
![]()  | 
BeginTrust13RenewResponse | |
![]()  | 
BeginTrust13Validate | Process an Asynchronous call to Trust 1.3 Validate message. | 
![]()  | 
BeginTrust13ValidateResponse | |
![]()  | 
BeginTrustFeb2005Cancel | Process an Asynchronous call to Trust Feb 2005 Cancel message. | 
![]()  | 
BeginTrustFeb2005CancelResponse | |
![]()  | 
BeginTrustFeb2005Issue | Process an Asynchronous call to Trust Feb 2005 Issue message. | 
![]()  | 
BeginTrustFeb2005IssueResponse | |
![]()  | 
BeginTrustFeb2005Renew | Process an Asynchronous call to Trust Feb 2005 Renew message. | 
![]()  | 
BeginTrustFeb2005RenewResponse | |
![]()  | 
BeginTrustFeb2005Validate | Process an Asynchronous call to Trust Feb 2005 Validate message. | 
![]()  | 
BeginTrustFeb2005ValidateResponse | |
![]()  | 
EndTrust13Cancel | Complete an Asynchronous call to Trust 1.3 Cancel message. | 
![]()  | 
EndTrust13CancelResponse | |
![]()  | 
EndTrust13Issue | Complete an Asynchronous call to Trust 1.3 Issue message. | 
![]()  | 
EndTrust13IssueResponse | |
![]()  | 
EndTrust13Renew | Complete an Asynchronous call to Trust 1.3 Renew message. | 
![]()  | 
EndTrust13RenewResponse | |
![]()  | 
EndTrust13Validate | Complete an Asynchronous call to Trust 1.3 Validate message. | 
![]()  | 
EndTrust13ValidateResponse | |
![]()  | 
EndTrustFeb2005Cancel | Complete an Asynchronous call to Trust Feb 2005 Cancel message. | 
![]()  | 
EndTrustFeb2005CancelResponse | |
![]()  | 
EndTrustFeb2005Issue | Complete an Asynchronous call to Trust Feb 2005 Cancel message. | 
![]()  | 
EndTrustFeb2005IssueResponse | |
![]()  | 
EndTrustFeb2005Renew | Complete an Asynchronous call to Trust Feb 2005 Renew message. | 
![]()  | 
EndTrustFeb2005RenewResponse | |
![]()  | 
EndTrustFeb2005Validate | Complete an Asynchronous call to Trust Feb 2005 Validate message. | 
![]()  | 
EndTrustFeb2005ValidateResponse | |
![]()  | 
Equals | 已重载。 (从 Object 继承) | 
![]()  | 
ExportContract | Implementation for IWsdlExportExtension.ExportContract. The default implementation does nothing. Can be overridden in the derived class for specific behavior. | 
![]()  | 
ExportEndpoint | Implements IWsdlExportExtensions.ExportEndpoint. The default implementation does the following: For every Trust contract found, 1. Includes the appropriate trust namespace in the WSDL. 2. Imports the appropriate Trust schema and all dependent schemas. 3. Fixes the Messages of each operation to it appropriate WS-Trust equivalent. Trust Contract exposed by the Framework takes a System.ServiceModel.Channels.Message in and returns a System.ServiceModel.Channels.Message out. But Trust messages expects and RST and returns an RSTR/RSTRC. This method fixes the message names with the appropriate WS-Trust messages. | 
![]()  | 
GetHashCode | (从 Object 继承) | 
![]()  | 
GetType | (从 Object 继承) | 
![]()  | 
ProcessTrust13Cancel | Process a Trust 1.3 Cancel message synchronously. | 
![]()  | 
ProcessTrust13CancelResponse | |
![]()  | 
ProcessTrust13Issue | Process a Trust 1.3 Issue message synchronously. | 
![]()  | 
ProcessTrust13IssueResponse | |
![]()  | 
ProcessTrust13Renew | Process a Trust 1.3 Renew message synchronously. | 
![]()  | 
ProcessTrust13RenewResponse | |
![]()  | 
ProcessTrust13Validate | Process a Trust 1.3 Validate message synchronously. | 
![]()  | 
ProcessTrust13ValidateResponse | |
![]()  | 
ProcessTrustFeb2005Cancel | Process a Trust Feb 2005 Cancel message synchronously. | 
![]()  | 
ProcessTrustFeb2005CancelResponse | |
![]()  | 
ProcessTrustFeb2005Issue | Process a Trust Feb 2005 Issue message synchronously. | 
![]()  | 
ProcessTrustFeb2005IssueResponse | |
![]()  | 
ProcessTrustFeb2005Renew | Process a Trust Feb 2005 Renew message synchronously. | 
![]()  | 
ProcessTrustFeb2005RenewResponse | |
![]()  | 
ProcessTrustFeb2005Validate | Process a Trust Feb 2005 Validate message synchronously. | 
![]()  | 
ProcessTrustFeb2005ValidateResponse | |
![]() ![]()  | 
ReferenceEquals | (从 Object 继承) | 
![]()  | 
ToString | (从 Object 继承) | 
![]()  | 
Validate | Inherited from IContractBehavior. Implement to confirm that the contract and endpoint can support the contract behavior. | 
页首
Protected 方法
| 名称 | 说明 | |
|---|---|---|
![]()  | 
BeginDispatchRequest | |
![]()  | 
BeginProcessCore | |
![]()  | 
CreateDispatchContext | |
![]()  | 
CreateSerializationContext | |
![]()  | 
DispatchRequest | |
![]()  | 
EndDispatchRequest | |
![]()  | 
EndProcessCore | |
![]()  | 
Finalize | (从 Object 继承) | 
![]()  | 
FixMessageElement | During WSDL generation, the method fixes a given operation message element to refer to the RST and RSTR elements of the appropriate WS-Trust version. | 
![]()  | 
GetRstSecurityTokenResolver | |
![]()  | 
GetSecurityHeaderTokenResolver | Returns the SecurityTokenResolver that resolves the following security tokens contained in the current WCF message request's security header: protection token, endorsing, or signed endorsing supporting tokens. | 
![]()  | 
HandleException | Raises the Error Event and converts the given exception to a FaultException if required. If the original exception was a FaultException or PreserveOriginalException flag is set to true then the conversion to FaultException is not done. | 
![]()  | 
ImportSchema | Imports all the required schema if not already present in the WSDL. The default implementation will import the following schemas, (a) WS-Trust Feb 2005. (b) WS-Trust 1.3 Derived classes can override this method to import other schemas. | 
![]()  | 
IncludeNamespace | Adds the required WS-Trust namespaces to the WSDL if not already present. | 
![]()  | 
MemberwiseClone | (从 Object 继承) | 
![]()  | 
ProcessCore | Handles Synchronous calls to the STS. | 
![]()  | 
ValidateDispatchContext | 
页首
Public 事件
| 名称 | 说明 | |
|---|---|---|
![]()  | 
RequestFailed | Occurs when a Failure happens processing a Trust request from the client. | 
页首
请参见
参考
WSTrustServiceContract 类
Microsoft.IdentityModel.Protocols.WSTrust 命名空间
版权所有 (C) 2008 Microsoft Corporation。保留所有权利。
.gif)
.gif)
.gif)
.gif)
.gif)