WSTrustServiceContract.ProcessCore Method

[This documentation is preliminary and is subject to change.]

Handles Synchronous calls to the STS.

Namespace: Microsoft.IdentityModel.Protocols.WSTrust
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Usage

    Dim requestMessage As Message
Dim requestSerializer As WSTrustRequestSerializer
Dim responseSerializer As WSTrustResponseSerializer
Dim requestAction As String
Dim responseAction As String
Dim trustNamespace As String
Dim returnValue As Message

returnValue = Me.ProcessCore(requestMessage, requestSerializer, responseSerializer, requestAction, responseAction, trustNamespace)

Syntax

'Declaration
Protected Overridable Function ProcessCore ( _
    requestMessage As Message, _
    requestSerializer As WSTrustRequestSerializer, _
    responseSerializer As WSTrustResponseSerializer, _
    requestAction As String, _
    responseAction As String, _
    trustNamespace As String _
) As Message
protected virtual Message ProcessCore (
    Message requestMessage,
    WSTrustRequestSerializer requestSerializer,
    WSTrustResponseSerializer responseSerializer,
    string requestAction,
    string responseAction,
    string trustNamespace
)
protected:
virtual Message^ ProcessCore (
    Message^ requestMessage, 
    WSTrustRequestSerializer^ requestSerializer, 
    WSTrustResponseSerializer^ responseSerializer, 
    String^ requestAction, 
    String^ responseAction, 
    String^ trustNamespace
)
protected Message ProcessCore (
    Message requestMessage, 
    WSTrustRequestSerializer requestSerializer, 
    WSTrustResponseSerializer responseSerializer, 
    String requestAction, 
    String responseAction, 
    String trustNamespace
)
protected function ProcessCore (
    requestMessage : Message, 
    requestSerializer : WSTrustRequestSerializer, 
    responseSerializer : WSTrustResponseSerializer, 
    requestAction : String, 
    responseAction : String, 
    trustNamespace : String
) : Message

Parameters

  • requestMessage
    Incoming Request message.
  • requestSerializer
    Trust Request Serializer.
  • responseSerializer
    Trust Response Serializer.
  • requestAction
    Request SOAP action.
  • responseAction
    Response SOAP action.
  • trustNamespace
    Namespace URI of the trust version of the incoming request.

Return Value

Response message that contains the serialized RSTR.

Exceptions

Exception type Condition
ArgumentNullException

One of the argument is null.

Thread Safety

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

Platforms

Development Platforms

Windows Server 2003, Windows Vista

Target Platforms

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

See Also

Reference

WSTrustServiceContract Class
WSTrustServiceContract Members
Microsoft.IdentityModel.Protocols.WSTrust Namespace