WSTrustChannel Class

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Represents a channel that is used to send WS-Trust messages to a security token service (STS).

Namespace:   System.ServiceModel.Security
Assembly:  System.ServiceModel (in System.ServiceModel.dll)

System.Object
  System.ServiceModel.Security.WSTrustChannel

public class WSTrustChannel : IWSTrustChannelContract, IWSTrustContract, 
	IChannel, ICommunicationObject

NameDescription
System_CAPS_pubpropertyChannel

Gets or sets the channel object that is used for sending and receiving messages.

System_CAPS_pubpropertyChannelFactory

Gets or sets the factory that created the channel.

System_CAPS_pubpropertyContract

Gets or sets the channel contract the channel uses for sending and receiving messages.

System_CAPS_pubpropertyState

Gets the current state of the communication-oriented object.

System_CAPS_pubpropertyTrustVersion

Gets or sets the version of WS-Trust this channel uses for serializing Message objects.

System_CAPS_pubpropertyWSTrustRequestSerializer

The WSTrustRequestSerializer that the channel uses for serializing WS-Trust request messages.

System_CAPS_pubpropertyWSTrustResponseSerializer

Gets or sets the WSTrustResponseSerializer that the channel uses for serializing WS-Trust response messages.

System_CAPS_pubpropertyWSTrustSerializationContext

Gets or sets the WSTrustSerializationContext that the channel uses for serializing WS-Trust messages.

NameDescription
System_CAPS_pubmethodAbort()

Causes a communication object to transition immediately from its current state into the closed state.

System_CAPS_pubmethodBeginCancel(Message, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint using the specified Message object.

System_CAPS_pubmethodBeginCancel(RequestSecurityToken, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint using the specified RequestSecurityToken object.

System_CAPS_pubmethodBeginClose(AsyncCallback, Object)

Begins an asynchronous operation to close a communication object.

System_CAPS_pubmethodBeginClose(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to close a communication object with a specified timeout.

System_CAPS_pubmethodBeginIssue(Message, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Issue message to an endpoint using the specified Message object.

System_CAPS_pubmethodBeginIssue(RequestSecurityToken, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Issue message to an endpoint using the specified RequestSecurityToken object.

System_CAPS_pubmethodBeginOpen(AsyncCallback, Object)

Begins an asynchronous operation to open a communication object.

System_CAPS_pubmethodBeginOpen(TimeSpan, AsyncCallback, Object)

Begins an asynchronous operation to open a communication object within a specified interval of time.

System_CAPS_pubmethodBeginRenew(Message, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Renew message to an endpoint using the specified Message object.

System_CAPS_pubmethodBeginRenew(RequestSecurityToken, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Renew message to an endpoint using the specified RequestSecurityToken object.

System_CAPS_pubmethodBeginValidate(Message, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Validate message to an endpoint using the specified Message object.

System_CAPS_pubmethodBeginValidate(RequestSecurityToken, AsyncCallback, Object)

Begins an asynchronous operation to send a WS-Trust Validate message to an endpoint using the specified RequestSecurityToken object.

System_CAPS_pubmethodCancel(Message)

Sends a WS-Trust Cancel message to an endpoint using the specified Message object.

System_CAPS_pubmethodCancel(RequestSecurityToken)

Sends a WS-Trust Cancel message to an endpoint using the specified Message object.

System_CAPS_pubmethodClose()

Causes a communication object to transition from its current state into the closed state.

System_CAPS_pubmethodClose(TimeSpan)

Causes a communication object to transition from its current state into the closed state within a specified interval of time.

System_CAPS_protmethodCreateRequest(RequestSecurityToken, String)

Creates a Message object that represents a WS-Trust RST message.

System_CAPS_pubmethodEndCancel(IAsyncResult)

Completes an asynchronous operation to send a WS-Trust Cancel message initiated by the BeginCancel(Message, AsyncCallback, Object) method.

System_CAPS_pubmethodEndCancel(IAsyncResult, RequestSecurityTokenResponse)

Completes an asynchronous operation to send a WS-Trust Cancel message initiated by the BeginCancel(RequestSecurityToken, AsyncCallback, Object) method.

System_CAPS_pubmethodEndClose(IAsyncResult)

Completes an asynchronous operation to close a communication object.

System_CAPS_pubmethodEndIssue(IAsyncResult)

Completes an asynchronous operation to send a WS-Trust Issue message initiated by the BeginIssue(Message, AsyncCallback, Object) method.

System_CAPS_pubmethodEndIssue(IAsyncResult, RequestSecurityTokenResponse)

Completes an asynchronous operation to send a WS-Trust Issue message initiated by the BeginIssue(RequestSecurityToken, AsyncCallback, Object) method.

System_CAPS_pubmethodEndOpen(IAsyncResult)

Completes an asynchronous operation to open a communication object.

System_CAPS_pubmethodEndRenew(IAsyncResult)

Completes an asynchronous operation to send a WS-Trust Renew message initiated by the BeginRenew(Message, AsyncCallback, Object) method.

System_CAPS_pubmethodEndRenew(IAsyncResult, RequestSecurityTokenResponse)

Completes an asynchronous operation to send a WS-Trust Renew message initiated by the BeginRenew(RequestSecurityToken, AsyncCallback, Object) method.

System_CAPS_pubmethodEndValidate(IAsyncResult)

Completes an asynchronous operation to send a WS-Trust Validate message initiated by the BeginValidate(Message, AsyncCallback, Object) method.

System_CAPS_pubmethodEndValidate(IAsyncResult, RequestSecurityTokenResponse)

Completes an asynchronous operation to send a WS-Trust Validate message initiated by the BeginValidate(RequestSecurityToken, AsyncCallback, Object) method.

System_CAPS_pubmethodEquals(Object)

Determines whether the specified object is equal to the current object.(Inherited from Object.)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Serves as the default hash function. (Inherited from Object.)

System_CAPS_pubmethodGetProperty<T>()

Returns a typed object requested, if present, from the appropriate layer in the channel stack.

System_CAPS_protmethodSystem_CAPS_staticGetRequestAction(String, TrustVersion)

Gets the WS-Addressing SOAP action that corresponds to the specified request type and WS-Trust version.

System_CAPS_pubmethodGetTokenFromResponse(RequestSecurityToken, RequestSecurityTokenResponse)

Gets the security token from the RSTR.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodIssue(Message)

Sends a WS-Trust Issue message to an endpoint STS using the specified Message object.

System_CAPS_pubmethodIssue(RequestSecurityToken)

Sends a WS-Trust Issue message to an endpoint STS using the specified RequestSecurityToken object.

System_CAPS_pubmethodIssue(RequestSecurityToken, RequestSecurityTokenResponse)

Sends a WS-Trust Issue message to an endpoint STS using the specified RequestSecurityToken and RequestSecurityToken objects.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodOpen()

Causes a communication object to transition from the created state into the opened state.

System_CAPS_pubmethodOpen(TimeSpan)

Causes a communication object to transition from the created state into the opened state within a specified interval of time.

System_CAPS_protmethodReadResponse(Message)

Deserializes a RequestSecurityTokenResponse from a Message received from the WS-Trust endpoint.

System_CAPS_pubmethodRenew(Message)

Sends a WS-Trust Renew message to an endpoint using the specified Message object.

System_CAPS_pubmethodRenew(RequestSecurityToken)

Sends a WS-Trust Renew message to an endpoint using the specified RequestSecurityToken object.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

System_CAPS_pubmethodValidate(Message)

Sends a WS-Trust Validate message to an endpoint using the specified Message object.

System_CAPS_pubmethodValidate(RequestSecurityToken)

Sends a WS-Trust Validate message to an endpoint using the specified RequestSecurityToken object.

NameDescription
System_CAPS_pubeventClosed

Occurs when the communication object completes its transition from the closing state into the closed state.

System_CAPS_pubeventClosing

Occurs when the communication object first enters the closing state.

System_CAPS_pubeventFaulted

Occurs when the communication object first enters the faulted state.

System_CAPS_pubeventOpened

Occurs when the communication object completes its transition from the opening state into the opened state.

System_CAPS_pubeventOpening

Occurs when the communication object first enters the opening state.

.NET Framework
Available since 4.5

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: