WSTrustChannel Class
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Represents a channel that is used to send WS-Trust messages to a security token service (STS).
public ref class WSTrustChannel : System::ServiceModel::Channels::IChannel, System::ServiceModel::Security::IWSTrustChannelContract
public class WSTrustChannel : System.ServiceModel.Channels.IChannel, System.ServiceModel.Security.IWSTrustChannelContract
type WSTrustChannel = class
interface IWSTrustChannelContract
interface IWSTrustContract
interface IChannel
interface ICommunicationObject
Public Class WSTrustChannel
Implements IChannel, IWSTrustChannelContract
- Inheritance
-
WSTrustChannel
- Implements
Importante
Calling methods from this class with untrusted data is a security risk. Call the methods from this class only with trusted data. For more information, see Validate All Inputs.
Channel |
Gets or sets the channel object that is used for sending and receiving messages. |
Channel |
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. |
Trust |
Gets or sets the version of WS-Trust this channel uses for serializing Message objects. |
WSTrust |
The WSTrustRequestSerializer that the channel uses for serializing WS-Trust request messages. |
WSTrust |
Gets or sets the WSTrustResponseSerializer that the channel uses for serializing WS-Trust response messages. |
WSTrust |
Gets or sets the WSTrustSerializationContext that the channel uses for serializing WS-Trust messages. |
Abort() |
Causes a communication object to transition immediately from its current state into the closed state. |
Begin |
Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint using the specified Message object. |
Begin |
Begins an asynchronous operation to send a WS-Trust Cancel message to an endpoint using the specified RequestSecurityToken object. |
Begin |
Begins an asynchronous operation to close a communication object. |
Begin |
Begins an asynchronous operation to close a communication object with a specified timeout. |
Begin |
Begins an asynchronous operation to send a WS-Trust Issue message to an endpoint using the specified Message object. |
Begin |
Begins an asynchronous operation to send a WS-Trust Issue message to an endpoint using the specified RequestSecurityToken object. |
Begin |
Begins an asynchronous operation to open a communication object. |
Begin |
Begins an asynchronous operation to open a communication object within a specified interval of time. |
Begin |
Begins an asynchronous operation to send a WS-Trust Renew message to an endpoint using the specified Message object. |
Begin |
Begins an asynchronous operation to send a WS-Trust Renew message to an endpoint using the specified RequestSecurityToken object. |
Begin |
Begins an asynchronous operation to send a WS-Trust Validate message to an endpoint using the specified Message object. |
Begin |
Begins an asynchronous operation to send a WS-Trust Validate message to an endpoint using the specified RequestSecurityToken object. |
Cancel(Message) |
Sends a WS-Trust Cancel message to an endpoint using the specified Message object. |
Cancel(Request |
Sends a WS-Trust Cancel message to an endpoint using the specified Message object. |
Close() |
Causes a communication object to transition from its current state into the closed state. |
Close(Time |
Causes a communication object to transition from its current state into the closed state within a specified interval of time. |
Create |
Creates a Message object that represents a WS-Trust RST message. |
End |
Completes an asynchronous operation to send a WS-Trust Cancel message initiated by the BeginCancel(RequestSecurityToken, AsyncCallback, Object) method. |
End |
Completes an asynchronous operation to send a WS-Trust Cancel message initiated by the BeginCancel(Message, AsyncCallback, Object) method. |
End |
Completes an asynchronous operation to close a communication object. |
End |
Completes an asynchronous operation to send a WS-Trust Issue message initiated by the BeginIssue(RequestSecurityToken, AsyncCallback, Object) method. |
End |
Completes an asynchronous operation to send a WS-Trust Issue message initiated by the BeginIssue(Message, AsyncCallback, Object) method. |
End |
Completes an asynchronous operation to open a communication object. |
End |
Completes an asynchronous operation to send a WS-Trust Renew message initiated by the BeginRenew(RequestSecurityToken, AsyncCallback, Object) method. |
End |
Completes an asynchronous operation to send a WS-Trust Renew message initiated by the BeginRenew(Message, AsyncCallback, Object) method. |
End |
Completes an asynchronous operation to send a WS-Trust Validate message initiated by the BeginValidate(RequestSecurityToken, AsyncCallback, Object) method. |
End |
Completes an asynchronous operation to send a WS-Trust Validate message initiated by the BeginValidate(Message, AsyncCallback, Object) method. |
Equals(Object) |
Determines whether the specified object is equal to the current object. (Inherited from Object) |
Get |
Serves as the default hash function. (Inherited from Object) |
Get |
Returns a typed object requested, if present, from the appropriate layer in the channel stack. |
Get |
Gets the WS-Addressing SOAP action that corresponds to the specified request type and WS-Trust version. |
Get |
Gets the security token from the RSTR. |
Get |
Gets the Type of the current instance. (Inherited from Object) |
Issue(Message) |
Sends a WS-Trust Issue message to an endpoint STS using the specified Message object. |
Issue(Request |
Sends a WS-Trust Issue message to an endpoint STS using the specified RequestSecurityToken and RequestSecurityToken objects. |
Issue(Request |
Sends a WS-Trust Issue message to an endpoint STS using the specified RequestSecurityToken object. |
Memberwise |
Creates a shallow copy of the current Object. (Inherited from Object) |
Open() |
Causes a communication object to transition from the created state into the opened state. |
Open(Time |
Causes a communication object to transition from the created state into the opened state within a specified interval of time. |
Read |
Deserializes a RequestSecurityTokenResponse from a Message received from the WS-Trust endpoint. |
Renew(Message) |
Sends a WS-Trust Renew message to an endpoint using the specified Message object. |
Renew(Request |
Sends a WS-Trust Renew message to an endpoint using the specified RequestSecurityToken object. |
To |
Returns a string that represents the current object. (Inherited from Object) |
Validate(Message) |
Sends a WS-Trust Validate message to an endpoint using the specified Message object. |
Validate(Request |
Sends a WS-Trust Validate message to an endpoint using the specified RequestSecurityToken object. |
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. |
Prodotto | Versioni |
---|---|
.NET Framework | 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
Feedback su .NET
.NET è un progetto di open source. Selezionare un collegamento per fornire feedback: