Compartir a través de


WSTrustChannelFactory.CreateTrustChannel (Método)

Espacio de nombres: Microsoft.IdentityModel.Protocols.WSTrust
Ensamblado: Microsoft.IdentityModel (en microsoft.identitymodel.dll)

Uso

    Dim innerChannel As IWSTrustChannelContract
Dim trustVersion As TrustVersion
Dim context As WSTrustSerializationContext
Dim requestSerializer As WSTrustRequestSerializer
Dim responseSerializer As WSTrustResponseSerializer
Dim returnValue As WSTrustChannel

returnValue = Me.CreateTrustChannel(innerChannel, trustVersion, context, requestSerializer, responseSerializer)

Sintaxis

'Declaración
Protected Overridable Function CreateTrustChannel ( _
    innerChannel As IWSTrustChannelContract, _
    trustVersion As TrustVersion, _
    context As WSTrustSerializationContext, _
    requestSerializer As WSTrustRequestSerializer, _
    responseSerializer As WSTrustResponseSerializer _
) As WSTrustChannel
protected virtual WSTrustChannel CreateTrustChannel (
    IWSTrustChannelContract innerChannel,
    TrustVersion trustVersion,
    WSTrustSerializationContext context,
    WSTrustRequestSerializer requestSerializer,
    WSTrustResponseSerializer responseSerializer
)
protected:
virtual WSTrustChannel^ CreateTrustChannel (
    IWSTrustChannelContract^ innerChannel, 
    TrustVersion^ trustVersion, 
    WSTrustSerializationContext^ context, 
    WSTrustRequestSerializer^ requestSerializer, 
    WSTrustResponseSerializer^ responseSerializer
)
protected WSTrustChannel CreateTrustChannel (
    IWSTrustChannelContract innerChannel, 
    TrustVersion trustVersion, 
    WSTrustSerializationContext context, 
    WSTrustRequestSerializer requestSerializer, 
    WSTrustResponseSerializer responseSerializer
)
protected function CreateTrustChannel (
    innerChannel : IWSTrustChannelContract, 
    trustVersion : TrustVersion, 
    context : WSTrustSerializationContext, 
    requestSerializer : WSTrustRequestSerializer, 
    responseSerializer : WSTrustResponseSerializer
) : WSTrustChannel

Parámetros

  • innerChannel
     
  • trustVersion
     
  • context
     
  • requestSerializer
     
  • responseSerializer
     

Seguridad para subprocesos

Los miembros estáticos públicos (Shared en Visual Basic) de este tipo son seguros para subprocesos.No se garantiza que los miembros de instancias sean seguros para subprocesos.

Plataformas

Plataformas de desarrollo

Windows Server 2003, Windows Vista

Target Platforms

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

Vea también

Referencia

WSTrustChannelFactory (Clase)
WSTrustChannelFactory (Miembros)
Microsoft.IdentityModel.Protocols.WSTrust (Espacio de nombres)