ServiceHostEndpointConfiguration 构造函数

Initializes an instance of T:Microsoft.IdentityModel.Configuration.ServiceHostEndpointConfiguration.

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

用法

    Dim contractType As Type
Dim binding As Binding
Dim address As String

Dim instance As New ServiceHostEndpointConfiguration(contractType, binding, address)

语法

声明
Public Sub New ( _
    contractType As Type, _
    binding As Binding, _
    address As String _
)
public ServiceHostEndpointConfiguration (
    Type contractType,
    Binding binding,
    string address
)
public:
ServiceHostEndpointConfiguration (
    Type^ contractType, 
    Binding^ binding, 
    String^ address
)
public ServiceHostEndpointConfiguration (
    Type contractType, 
    Binding binding, 
    String address
)
public function ServiceHostEndpointConfiguration (
    contractType : Type, 
    binding : Binding, 
    address : String
)

参数

  • contractType
    Service Contract type.
  • binding
    Binding information for the ServiceHost.
  • address
    A string representing the address of the ServiceHost.

异常

异常类型 条件

备注

平台

开发平台

Windows Server 2003, Windows Vista

Target Platforms

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

请参见

参考

ServiceHostEndpointConfiguration 类
ServiceHostEndpointConfiguration 成员
Microsoft.IdentityModel.Configuration 命名空间