Udostępnij za pośrednictwem


OperationContractGenerationContext Konstruktory

Definicja

Inicjuje nowe wystąpienie klasy OperationContractGenerationContext.

Przeciążenia

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

Inicjuje OperationContractGenerationContext nowe wystąpienie klasy przy użyciu określonego generatora kontraktów, kontekstu kontraktu, opisu operacji, deklaracji typu kodu, metody synchronizacji i metody zadania.

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

Inicjuje OperationContractGenerationContext nowe wystąpienie klasy przy użyciu określonego generatora kontraktów, kontekstu kontraktu, opisu operacji, deklaracji typu kodu i metody.

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

Inicjuje nowe wystąpienie klasy OperationContractGenerationContext.

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

Inicjuje nowe wystąpienie klasy przy użyciu określonego OperationContractGenerationContext generatora kontraktów, kontekstu kontraktu, opisu operacji, deklaracji typu kodu, metody synchronizacji, metody begin, metody końcowej i metody zadania.

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

Inicjuje OperationContractGenerationContext nowe wystąpienie klasy przy użyciu określonego generatora kontraktów, kontekstu kontraktu, opisu operacji, deklaracji typu kodu, metody synchronizacji i metody zadania.

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

Generator kontraktów usług, który generuje kod.

contract
ServiceContractGenerationContext

Kontrakt i jego kontekst generowania.

operation
OperationDescription

Opis operacji do wygenerowania.

declaringType
CodeTypeDeclaration

Deklarowany typ kodu.

method
CodeMemberMethod

Metoda do wygenerowania.

Dotyczy

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

Inicjuje OperationContractGenerationContext nowe wystąpienie klasy przy użyciu określonego generatora kontraktów, kontekstu kontraktu, opisu operacji, deklaracji typu kodu i 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

Generator kontraktów usług, który generuje kod.

contract
ServiceContractGenerationContext

Kontrakt i jego kontekst generowania.

operation
OperationDescription

Opis operacji do wygenerowania.

declaringType
CodeTypeDeclaration

Deklarowany typ kodu.

syncMethod
CodeMemberMethod

Metoda synchronizacji, która ma zostać wygenerowana.

taskMethod
CodeMemberMethod

Użyto metody zadania.

Dotyczy

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

Inicjuje nowe wystąpienie klasy OperationContractGenerationContext.

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

Generator kontraktów usług, który generuje kod.

contract
ServiceContractGenerationContext

Kontrakt i jego kontekst generowania.

operation
OperationDescription

Opis operacji do wygenerowania.

declaringType
CodeTypeDeclaration

Deklarowany typ kodu.

syncMethod
CodeMemberMethod

Metoda synchroniczna.

beginMethod
CodeMemberMethod

Asynchroniczna metoda begin.

endMethod
CodeMemberMethod

Metoda asynchroniczna end.

Dotyczy

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

Inicjuje nowe wystąpienie klasy przy użyciu określonego OperationContractGenerationContext generatora kontraktów, kontekstu kontraktu, opisu operacji, deklaracji typu kodu, metody synchronizacji, metody begin, metody końcowej i metody zadania.

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

Generator kontraktów usług, który generuje kod.

contract
ServiceContractGenerationContext

Kontrakt i jego kontekst generowania.

operation
OperationDescription

Opis operacji do wygenerowania.

declaringType
CodeTypeDeclaration

Deklarowany typ kodu.

syncMethod
CodeMemberMethod

Metoda synchronizacji, która ma zostać wygenerowana.

beginMethod
CodeMemberMethod

Asynchroniczna metoda begin.

endMethod
CodeMemberMethod

Metoda asynchroniczna end.

taskMethod
CodeMemberMethod

Użyto metody zadania.

Dotyczy