Sdílet prostřednictvím


OperationContractGenerationContext Konstruktory

Definice

Inicializuje novou instanci OperationContractGenerationContext třídy.

Přetížení

OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod)

Inicializuje novou instanci třídy pomocí zadaného OperationContractGenerationContext generátoru kontraktu, kontextu kontraktu, popisu operace, deklarace typu kódu, metody synchronizace a metody úlohy.

OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod)

Inicializuje novou instanci třídy pomocí zadaného OperationContractGenerationContext generátoru kontraktu, kontextu kontraktu, popisu operace, deklarace typu kódu a metody.

OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod)

Inicializuje novou instanci OperationContractGenerationContext třídy.

OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod)

Inicializuje novou instanci třídy pomocí zadaného OperationContractGenerationContext generátoru kontraktu, kontextu kontraktu, popisu operace, deklarace typu kódu, metody synchronizace, počáteční metody, koncové metody a metody úkolu.

OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod)

Inicializuje novou instanci třídy pomocí zadaného OperationContractGenerationContext generátoru kontraktu, kontextu kontraktu, popisu operace, deklarace typu kódu, metody synchronizace a metody úlohy.

public:
 OperationContractGenerationContext(System::ServiceModel::Description::ServiceContractGenerator ^ serviceContractGenerator, System::ServiceModel::Description::ServiceContractGenerationContext ^ contract, System::ServiceModel::Description::OperationDescription ^ operation, System::CodeDom::CodeTypeDeclaration ^ declaringType, System::CodeDom::CodeMemberMethod ^ method);
public OperationContractGenerationContext (System.ServiceModel.Description.ServiceContractGenerator serviceContractGenerator, System.ServiceModel.Description.ServiceContractGenerationContext contract, System.ServiceModel.Description.OperationDescription operation, System.CodeDom.CodeTypeDeclaration declaringType, System.CodeDom.CodeMemberMethod method);
new System.ServiceModel.Description.OperationContractGenerationContext : System.ServiceModel.Description.ServiceContractGenerator * System.ServiceModel.Description.ServiceContractGenerationContext * System.ServiceModel.Description.OperationDescription * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeMemberMethod -> System.ServiceModel.Description.OperationContractGenerationContext
Public Sub New (serviceContractGenerator As ServiceContractGenerator, contract As ServiceContractGenerationContext, operation As OperationDescription, declaringType As CodeTypeDeclaration, method As CodeMemberMethod)

Parametry

serviceContractGenerator
ServiceContractGenerator

Generátor kontraktů služeb, který generuje kód.

contract
ServiceContractGenerationContext

Kontrakt a jeho kontext generování.

operation
OperationDescription

Popis operace, která se má vygenerovat.

declaringType
CodeTypeDeclaration

Deklarující typ kódu.

method
CodeMemberMethod

Metoda, která se má vygenerovat.

Platí pro

OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod)

Inicializuje novou instanci třídy pomocí zadaného OperationContractGenerationContext generátoru kontraktu, kontextu kontraktu, popisu operace, deklarace typu kódu a metody.

public:
 OperationContractGenerationContext(System::ServiceModel::Description::ServiceContractGenerator ^ serviceContractGenerator, System::ServiceModel::Description::ServiceContractGenerationContext ^ contract, System::ServiceModel::Description::OperationDescription ^ operation, System::CodeDom::CodeTypeDeclaration ^ declaringType, System::CodeDom::CodeMemberMethod ^ syncMethod, System::CodeDom::CodeMemberMethod ^ taskMethod);
public OperationContractGenerationContext (System.ServiceModel.Description.ServiceContractGenerator serviceContractGenerator, System.ServiceModel.Description.ServiceContractGenerationContext contract, System.ServiceModel.Description.OperationDescription operation, System.CodeDom.CodeTypeDeclaration declaringType, System.CodeDom.CodeMemberMethod syncMethod, System.CodeDom.CodeMemberMethod taskMethod);
new System.ServiceModel.Description.OperationContractGenerationContext : System.ServiceModel.Description.ServiceContractGenerator * System.ServiceModel.Description.ServiceContractGenerationContext * System.ServiceModel.Description.OperationDescription * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod -> System.ServiceModel.Description.OperationContractGenerationContext
Public Sub New (serviceContractGenerator As ServiceContractGenerator, contract As ServiceContractGenerationContext, operation As OperationDescription, declaringType As CodeTypeDeclaration, syncMethod As CodeMemberMethod, taskMethod As CodeMemberMethod)

Parametry

serviceContractGenerator
ServiceContractGenerator

Generátor kontraktů služeb, který generuje kód.

contract
ServiceContractGenerationContext

Kontrakt a jeho kontext generování.

operation
OperationDescription

Popis operace, která se má vygenerovat.

declaringType
CodeTypeDeclaration

Deklarující typ kódu.

syncMethod
CodeMemberMethod

Metoda synchronizace, která se má vygenerovat.

taskMethod
CodeMemberMethod

Použitá metoda úkolu.

Platí pro

OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod)

Inicializuje novou instanci OperationContractGenerationContext třídy.

public:
 OperationContractGenerationContext(System::ServiceModel::Description::ServiceContractGenerator ^ serviceContractGenerator, System::ServiceModel::Description::ServiceContractGenerationContext ^ contract, System::ServiceModel::Description::OperationDescription ^ operation, System::CodeDom::CodeTypeDeclaration ^ declaringType, System::CodeDom::CodeMemberMethod ^ syncMethod, System::CodeDom::CodeMemberMethod ^ beginMethod, System::CodeDom::CodeMemberMethod ^ endMethod);
public OperationContractGenerationContext (System.ServiceModel.Description.ServiceContractGenerator serviceContractGenerator, System.ServiceModel.Description.ServiceContractGenerationContext contract, System.ServiceModel.Description.OperationDescription operation, System.CodeDom.CodeTypeDeclaration declaringType, System.CodeDom.CodeMemberMethod syncMethod, System.CodeDom.CodeMemberMethod beginMethod, System.CodeDom.CodeMemberMethod endMethod);
new System.ServiceModel.Description.OperationContractGenerationContext : System.ServiceModel.Description.ServiceContractGenerator * System.ServiceModel.Description.ServiceContractGenerationContext * System.ServiceModel.Description.OperationDescription * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod -> System.ServiceModel.Description.OperationContractGenerationContext
Public Sub New (serviceContractGenerator As ServiceContractGenerator, contract As ServiceContractGenerationContext, operation As OperationDescription, declaringType As CodeTypeDeclaration, syncMethod As CodeMemberMethod, beginMethod As CodeMemberMethod, endMethod As CodeMemberMethod)

Parametry

serviceContractGenerator
ServiceContractGenerator

Generátor kontraktů služeb, který generuje kód.

contract
ServiceContractGenerationContext

Kontrakt a jeho kontext generování.

operation
OperationDescription

Popis operace, která se má vygenerovat.

declaringType
CodeTypeDeclaration

Deklarující typ kódu.

syncMethod
CodeMemberMethod

Synchronní metoda.

beginMethod
CodeMemberMethod

Asynchronní počáteční metoda.

endMethod
CodeMemberMethod

Asynchronní koncová metoda.

Platí pro

OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod)

Inicializuje novou instanci třídy pomocí zadaného OperationContractGenerationContext generátoru kontraktu, kontextu kontraktu, popisu operace, deklarace typu kódu, metody synchronizace, počáteční metody, koncové metody a metody úkolu.

public:
 OperationContractGenerationContext(System::ServiceModel::Description::ServiceContractGenerator ^ serviceContractGenerator, System::ServiceModel::Description::ServiceContractGenerationContext ^ contract, System::ServiceModel::Description::OperationDescription ^ operation, System::CodeDom::CodeTypeDeclaration ^ declaringType, System::CodeDom::CodeMemberMethod ^ syncMethod, System::CodeDom::CodeMemberMethod ^ beginMethod, System::CodeDom::CodeMemberMethod ^ endMethod, System::CodeDom::CodeMemberMethod ^ taskMethod);
public OperationContractGenerationContext (System.ServiceModel.Description.ServiceContractGenerator serviceContractGenerator, System.ServiceModel.Description.ServiceContractGenerationContext contract, System.ServiceModel.Description.OperationDescription operation, System.CodeDom.CodeTypeDeclaration declaringType, System.CodeDom.CodeMemberMethod syncMethod, System.CodeDom.CodeMemberMethod beginMethod, System.CodeDom.CodeMemberMethod endMethod, System.CodeDom.CodeMemberMethod taskMethod);
new System.ServiceModel.Description.OperationContractGenerationContext : System.ServiceModel.Description.ServiceContractGenerator * System.ServiceModel.Description.ServiceContractGenerationContext * System.ServiceModel.Description.OperationDescription * System.CodeDom.CodeTypeDeclaration * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod * System.CodeDom.CodeMemberMethod -> System.ServiceModel.Description.OperationContractGenerationContext
Public Sub New (serviceContractGenerator As ServiceContractGenerator, contract As ServiceContractGenerationContext, operation As OperationDescription, declaringType As CodeTypeDeclaration, syncMethod As CodeMemberMethod, beginMethod As CodeMemberMethod, endMethod As CodeMemberMethod, taskMethod As CodeMemberMethod)

Parametry

serviceContractGenerator
ServiceContractGenerator

Generátor kontraktů služeb, který generuje kód.

contract
ServiceContractGenerationContext

Kontrakt a jeho kontext generování.

operation
OperationDescription

Popis operace, která se má vygenerovat.

declaringType
CodeTypeDeclaration

Deklarující typ kódu.

syncMethod
CodeMemberMethod

Metoda synchronizace, která se má vygenerovat.

beginMethod
CodeMemberMethod

Asynchronní počáteční metoda.

endMethod
CodeMemberMethod

Asynchronní koncová metoda.

taskMethod
CodeMemberMethod

Použitá metoda úkolu.

Platí pro