WSTrustServiceContract.BeginProcessCore 方法

命名空间: Microsoft.IdentityModel.Protocols.WSTrust
程序集: Microsoft.IdentityModel(microsoft.identitymodel.dll 中)

用法

    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 callback As AsyncCallback
Dim state As Object
Dim returnValue As IAsyncResult

returnValue = Me.BeginProcessCore(requestMessage, requestSerializer, responseSerializer, requestAction, responseAction, trustNamespace, callback, state)

语法

声明
Protected Overridable Function BeginProcessCore ( _
    requestMessage As Message, _
    requestSerializer As WSTrustRequestSerializer, _
    responseSerializer As WSTrustResponseSerializer, _
    requestAction As String, _
    responseAction As String, _
    trustNamespace As String, _
    callback As AsyncCallback, _
    state As Object _
) As IAsyncResult
protected virtual IAsyncResult BeginProcessCore (
    Message requestMessage,
    WSTrustRequestSerializer requestSerializer,
    WSTrustResponseSerializer responseSerializer,
    string requestAction,
    string responseAction,
    string trustNamespace,
    AsyncCallback callback,
    Object state
)
protected:
virtual IAsyncResult^ BeginProcessCore (
    Message^ requestMessage, 
    WSTrustRequestSerializer^ requestSerializer, 
    WSTrustResponseSerializer^ responseSerializer, 
    String^ requestAction, 
    String^ responseAction, 
    String^ trustNamespace, 
    AsyncCallback^ callback, 
    Object^ state
)
protected IAsyncResult BeginProcessCore (
    Message requestMessage, 
    WSTrustRequestSerializer requestSerializer, 
    WSTrustResponseSerializer responseSerializer, 
    String requestAction, 
    String responseAction, 
    String trustNamespace, 
    AsyncCallback callback, 
    Object state
)
protected function BeginProcessCore (
    requestMessage : Message, 
    requestSerializer : WSTrustRequestSerializer, 
    responseSerializer : WSTrustResponseSerializer, 
    requestAction : String, 
    responseAction : String, 
    trustNamespace : String, 
    callback : AsyncCallback, 
    state : Object
) : IAsyncResult

参数

  • requestMessage
     
  • requestSerializer
     
  • responseSerializer
     
  • requestAction
     
  • responseAction
     
  • trustNamespace
     
  • callback
     
  • state
     

线程安全

此类型的任何公共静态(在 Visual Basic 中为 Shared)成员都是线程安全的。但不能保证任何实例成员是线程安全的。

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

WSTrustServiceContract 类
WSTrustServiceContract 成员
Microsoft.IdentityModel.Protocols.WSTrust 命名空间