Redigera

Dela via


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.

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

Applies to

ServiceContractGenerator(CodeCompileUnit)

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

public:
 ServiceContractGenerator(System::CodeDom::CodeCompileUnit ^ targetCompileUnit);
public ServiceContractGenerator (System.CodeDom.CodeCompileUnit targetCompileUnit);
new System.ServiceModel.Description.ServiceContractGenerator : System.CodeDom.CodeCompileUnit -> System.ServiceModel.Description.ServiceContractGenerator
Public Sub New (targetCompileUnit As CodeCompileUnit)

Parameters

targetCompileUnit
CodeCompileUnit

The CodeCompileUnit instance to use to generate code.

Applies to

ServiceContractGenerator(Configuration)

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

public:
 ServiceContractGenerator(System::Configuration::Configuration ^ targetConfig);
public ServiceContractGenerator (System.Configuration.Configuration targetConfig);
new System.ServiceModel.Description.ServiceContractGenerator : System.Configuration.Configuration -> System.ServiceModel.Description.ServiceContractGenerator
Public Sub New (targetConfig As Configuration)

Parameters

targetConfig
Configuration

The Configuration instance to use to generate binding configurations.

Applies to

ServiceContractGenerator(CodeCompileUnit, Configuration)

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

public:
 ServiceContractGenerator(System::CodeDom::CodeCompileUnit ^ targetCompileUnit, System::Configuration::Configuration ^ targetConfig);
public ServiceContractGenerator (System.CodeDom.CodeCompileUnit targetCompileUnit, System.Configuration.Configuration targetConfig);
new System.ServiceModel.Description.ServiceContractGenerator : System.CodeDom.CodeCompileUnit * System.Configuration.Configuration -> System.ServiceModel.Description.ServiceContractGenerator
Public Sub New (targetCompileUnit As CodeCompileUnit, targetConfig As Configuration)

Parameters

targetCompileUnit
CodeCompileUnit

The CodeCompileUnit instance to use to generate code.

targetConfig
Configuration

The Configuration instance to use to generate binding configurations.

Applies to