Freigeben über


ServiceHostEndpointConfiguration Constructor

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

Namespace: Microsoft.IdentityModel.Configuration
Assembly: Microsoft.IdentityModel (in microsoft.identitymodel.dll)

Verwendung

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

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

Syntax

'Declaration
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
)

Parameter

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

Ausnahmen

Ausnahmetyp Bedingung

Hinweise

Plattformen

Entwicklungsplattformen

Windows Server 2003, Windows Vista

Target Platforms

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

Siehe auch

Referenz

ServiceHostEndpointConfiguration Class
ServiceHostEndpointConfiguration Members
Microsoft.IdentityModel.Configuration Namespace