WSTrustChannelFactory.CreateChannel 方法 (EndpointAddress, Uri)

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

用法

    Dim instance As WSTrustChannelFactory
Dim address As EndpointAddress
Dim via As Uri
Dim returnValue As IWSTrustChannelContract

returnValue = instance.CreateChannel(address, via)

语法

声明
Public Overrides Function CreateChannel ( _
    address As EndpointAddress, _
    via As Uri _
) As IWSTrustChannelContract
public override IWSTrustChannelContract CreateChannel (
    EndpointAddress address,
    Uri via
)
public:
virtual IWSTrustChannelContract^ CreateChannel (
    EndpointAddress^ address, 
    Uri^ via
) override
public IWSTrustChannelContract CreateChannel (
    EndpointAddress address, 
    Uri via
)
public override function CreateChannel (
    address : EndpointAddress, 
    via : Uri
) : IWSTrustChannelContract

参数

  • address
     
  • via
     

线程安全

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

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

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