Partager via


Méthode WSTrustServiceContract.ProcessCore

Handles Synchronous calls to the STS.

Espace de noms: Microsoft.IdentityModel.Protocols.WSTrust
Assembly : Microsoft.IdentityModel (dans microsoft.identitymodel.dll)

Utilisation

    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)

Syntaxe

'Déclaration
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

Paramètres

  • 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.

Valeur de retour

Response message that contains the serialized RSTR.

Exceptions

Type d'exception Condition
ArgumentNullException

One of the argument is null.

Cohérence de thread

Tous les membres statiques publics (partagés dans Visual Basic) de ce type sont thread-safe.Il n'est pas garanti que les membres d'instance soient thread-safe.

Plateformes

Plateformes de développement

Windows Server 2003, Windows Vista

Target Platforms

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

Voir aussi

Référence

Classe WSTrustServiceContract
Membres WSTrustServiceContract
Espace de noms Microsoft.IdentityModel.Protocols.WSTrust