Initializes an instance of T:Microsoft.IdentityModel.Configuration.ServiceHostEndpointConfiguration.
Пространство имен: Microsoft.IdentityModel.Configuration
Сборка: Microsoft.IdentityModel (в microsoft.identitymodel.dll)

Использование

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

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

Синтаксис

Visual Basic
Public Sub New ( _
		contractType As Type, _
		binding As Binding, _
		address As String _
)
C#
public ServiceHostEndpointConfiguration (
		Type contractType,
		Binding binding,
		string address
)
C++
public:
ServiceHostEndpointConfiguration (
		Type^ contractType, 
		Binding^ binding, 
		String^ address
)
J#
public ServiceHostEndpointConfiguration (
		Type contractType, 
		Binding binding, 
		String address
)
JScript
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

См. также