WSTrustChannel Members
[Starting with the .NET Framework 4.5, Windows Identity Foundation (WIF) has been fully integrated into the .NET Framework. The version of WIF addressed by this topic, WIF 3.5, is deprecated and should only be used when developing against the .NET Framework 3.5 SP1 or the .NET Framework 4. For more information about WIF in the .NET Framework 4.5, also known as WIF 4.5, see the Windows Identity Foundation documentation in the .NET Framework 4.5 Development Guide.]
Represents a channel that is used to send WS-Trust messages to a security token service (STS).
The following tables list the members exposed by the WSTrustChannel type.
Public Constructors
Name | Description | |
---|---|---|
WSTrustChannel | Initializes a new instance of the WSTrustChannel class. |
Top
Public Properties
Name | Description | |
---|---|---|
Channel | Gets or sets the channel object that is used for sending and receiving messages. | |
ChannelFactory | Gets or sets the factory that created the channel. | |
Contract | Gets or sets the channel contract the channel uses for sending and receiving messages. | |
State | Gets the current state of the communication-oriented object. | |
TrustVersion | Gets or sets the version of WS-Trust this channel uses for serializing Message objects. | |
WSTrustRequestSerializer | The WSTrustRequestSerializer the channel uses for serializing WS-Trust request messages. | |
WSTrustResponseSerializer | Gets or sets the WSTrustResponseSerializer the channel uses for serializing WS-Trust response messages. | |
WSTrustSerializationContext | Gets or sets the WSTrustSerializationContext the channel uses for serializing WS-Trust messages. |
Top
Public Methods
(see also Protected Methods)
Name | Description | |
---|---|---|
Abort | Causes a communication object to transition immediately from its current state into the closed state. | |
BeginCancel | Overloaded. Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint. | |
BeginClose | Overloaded. Begins an asynchronous operation to close a communication object. | |
BeginIssue | Overloaded. Begins an asynchronous operation to send a WS-Trust Issue message to an endpoint. | |
BeginOpen | Overloaded. Begins an asynchronous operation to open a communication object. | |
BeginRenew | Overloaded. Begins an asynchronous operation to send a WS-Trust Renew message to an endpoint. | |
BeginValidate | Overloaded. Begins an asynchronous operation to send a WS-Trust Validate message to an endpoint. | |
Cancel | Overloaded. Sends a WS-Trust Cancel message to an endpoint. | |
Close | Overloaded. Causes a communication object to transition from its current state into the closed state. | |
EndCancel | Overloaded. Completes an asynchronous operation to send a WS-Trust Cancel message to an endpoint. | |
EndClose | Completes an asynchronous operation to close a communication object. | |
EndIssue | Overloaded. Completes an asynchronous operation to send a WS-Trust Issue message to an endpoint. | |
EndOpen | Completes an asynchronous operation to open a communication object. | |
EndRenew | Overloaded. Completes an asynchronous operation to send a WS-Trust Renew message to an endpoint. | |
EndValidate | Overloaded. Completes an asynchronous operation to send a WS-Trust Validate message to an endpoint. | |
Equals | (Inherited from Object) | |
GetHashCode | (Inherited from Object) | |
GetProperty | Returns a typed object requested, if present, from the appropriate layer in the channel stack. | |
GetTokenFromResponse | Gets the security token from the RSTR. | |
GetType | (Inherited from Object) | |
Issue | Overloaded. Sends a WS-Trust Issue message to an endpoint STS. | |
Open | Overloaded. Causes a communication object to transition from the created state into the opened state. | |
Renew | Overloaded. Sends a WS-Trust Renew message to an endpoint. | |
ToString | (Inherited from Object) | |
Validate | Overloaded. Sends a WS-Trust Validate message to an endpoint. |
Top
Protected Methods
Name | Description | |
---|---|---|
CreateRequest | Creates a Message object that represents a WS-Trust RST message. | |
Finalize | (Inherited from Object) | |
GetRequestAction | Gets the WS-Addressing SOAP action that corresponds to the specified request type and WS-Trust version. | |
MemberwiseClone | (Inherited from Object) | |
ReadResponse | Deserializes a RequestSecurityTokenResponse from a Message received from the WS-Trust endpoint. |
Top
Public Events
Name | Description | |
---|---|---|
Closed | Occurs when the communication object completes its transition from the closing state into the closed state. | |
Closing | Occurs when the communication object first enters the closing state. | |
Faulted | Occurs when the communication object first enters the faulted state. | |
Opened | Occurs when the communication object completes its transition from the opening state into the opened state. | |
Opening | Occurs when the communication object first enters the opening state. |
Top
See Also
Reference
WSTrustChannel Class
Microsoft.IdentityModel.Protocols.WSTrust Namespace
Other Resources
WSTrustChannelFactory and WSTrustChannel
Copyright © 2008 by Microsoft Corporation. All rights reserved.