ServiceContractGenerator Constructors

Definition

Initializes a new instance of the ServiceContractGenerator class.

Overloads

ServiceContractGenerator()

Initializes a new instance of the ServiceContractGenerator class with a new CodeCompileUnit instance.

ServiceContractGenerator(CodeCompileUnit)

Initializes a new instance of the ServiceContractGenerator class with the specified CodeCompileUnit instance.

ServiceContractGenerator(Configuration)

Initializes a new instance of the ServiceContractGenerator class with the specified Configuration instance.

ServiceContractGenerator(CodeCompileUnit, Configuration)

Initializes a new instance of the ServiceContractGenerator class with the specified CodeCompileUnit instance and the specified Configuration instance.

ServiceContractGenerator()

Initializes a new instance of the ServiceContractGenerator class with a new CodeCompileUnit instance.

C#
public ServiceContractGenerator();

Applies to

.NET Framework 4.8.1 ve diğer sürümler
Ürün Sürümler
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

ServiceContractGenerator(CodeCompileUnit)

Initializes a new instance of the ServiceContractGenerator class with the specified CodeCompileUnit instance.

C#
public ServiceContractGenerator(System.CodeDom.CodeCompileUnit targetCompileUnit);

Parameters

targetCompileUnit
CodeCompileUnit

The CodeCompileUnit instance to use to generate code.

Applies to

.NET Framework 4.8.1 ve diğer sürümler
Ürün Sürümler
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

ServiceContractGenerator(Configuration)

Initializes a new instance of the ServiceContractGenerator class with the specified Configuration instance.

C#
public ServiceContractGenerator(System.Configuration.Configuration targetConfig);

Parameters

targetConfig
Configuration

The Configuration instance to use to generate binding configurations.

Applies to

.NET Framework 4.8.1 ve diğer sürümler
Ürün Sürümler
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1

ServiceContractGenerator(CodeCompileUnit, Configuration)

Initializes a new instance of the ServiceContractGenerator class with the specified CodeCompileUnit instance and the specified Configuration instance.

C#
public ServiceContractGenerator(System.CodeDom.CodeCompileUnit targetCompileUnit, System.Configuration.Configuration targetConfig);

Parameters

targetCompileUnit
CodeCompileUnit

The CodeCompileUnit instance to use to generate code.

targetConfig
Configuration

The Configuration instance to use to generate binding configurations.

Applies to

.NET Framework 4.8.1 ve diğer sürümler
Ürün Sürümler
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1