WSTrustServiceHost 构造函数 (WSTrustServiceContract, Uri[])

Initializes an instance of WSTrustServiceHost.

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

用法

    Dim serviceContract As WSTrustServiceContract
Dim baseAddresses As Uri()

Dim instance As New WSTrustServiceHost(serviceContract, baseAddresses)

语法

声明
Public Sub New ( _
    serviceContract As WSTrustServiceContract, _
    ParamArray baseAddresses As Uri() _
)
public WSTrustServiceHost (
    WSTrustServiceContract serviceContract,
    params Uri[] baseAddresses
)
public:
WSTrustServiceHost (
    WSTrustServiceContract^ serviceContract, 
    ... array<Uri^>^ baseAddresses
)
public WSTrustServiceHost (
    WSTrustServiceContract serviceContract, 
    Uri[] baseAddresses
)
public function WSTrustServiceHost (
    serviceContract : WSTrustServiceContract, 
    ... baseAddresses : Uri[]
)

参数

  • serviceContract
    ServiceContract implementation to use.
  • baseAddresses
    BaseAddress collection for the service host.

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

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