แก้ไข

แชร์ผ่าน


ServiceActivationElement Constructors

Definition

Creates a new instance of the ServiceActivationElement class.

Overloads

ServiceActivationElement()

Creates a new instance of the ServiceActivationElement class.

ServiceActivationElement(String)

Configures a new instance of the ServiceActivationElement class that includes a service activation file directory location that is relative to a base URL.

ServiceActivationElement(String, String)

Configures a new instance of the ServiceActivationElement class that includes the specified service to be activated and its relative address.

ServiceActivationElement(String, String, String)

Configures a new instance of the ServiceActivationElement class with the specified service to be activated, its relative address, and the system path name of a factory that generates a service activation element.

ServiceActivationElement()

Creates a new instance of the ServiceActivationElement class.

public:
 ServiceActivationElement();
public ServiceActivationElement ();
Public Sub New ()

Applies to

ServiceActivationElement(String)

Configures a new instance of the ServiceActivationElement class that includes a service activation file directory location that is relative to a base URL.

public:
 ServiceActivationElement(System::String ^ relativeAddress);
public ServiceActivationElement (string relativeAddress);
new System.ServiceModel.Configuration.ServiceActivationElement : string -> System.ServiceModel.Configuration.ServiceActivationElement
Public Sub New (relativeAddress As String)

Parameters

relativeAddress
String

A file directory location that requires being referenced from a base URL.

Applies to

ServiceActivationElement(String, String)

Configures a new instance of the ServiceActivationElement class that includes the specified service to be activated and its relative address.

public:
 ServiceActivationElement(System::String ^ relativeAddress, System::String ^ service);
public ServiceActivationElement (string relativeAddress, string service);
new System.ServiceModel.Configuration.ServiceActivationElement : string * string -> System.ServiceModel.Configuration.ServiceActivationElement
Public Sub New (relativeAddress As String, service As String)

Parameters

relativeAddress
String

A URL location that requires being referenced from a base address.

service
String

The service application that becomes activated.

Applies to

ServiceActivationElement(String, String, String)

Configures a new instance of the ServiceActivationElement class with the specified service to be activated, its relative address, and the system path name of a factory that generates a service activation element.

public:
 ServiceActivationElement(System::String ^ relativeAddress, System::String ^ service, System::String ^ factory);
public ServiceActivationElement (string relativeAddress, string service, string factory);
new System.ServiceModel.Configuration.ServiceActivationElement : string * string * string -> System.ServiceModel.Configuration.ServiceActivationElement
Public Sub New (relativeAddress As String, service As String, factory As String)

Parameters

relativeAddress
String

A URL location that requires being reference from a base address.

service
String

The service application being activated.

factory
String

The CLR type name of the factory that generates a service activation element.

Applies to