OperationContractGenerationContext Konstruktorer

Definition

Initierar en ny instans av OperationContractGenerationContext klassen.

Överlagringar

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

Initierar en ny instans av klassen med hjälp av OperationContractGenerationContext den angivna kontraktsgeneratorn, kontraktskontexten, åtgärdsbeskrivningen, kodtypsdeklarationen, synkroniseringsmetoden och uppgiftsmetoden.

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

Initierar en ny instans av OperationContractGenerationContext klassen med den angivna kontraktsgeneratorn, kontraktskontexten, åtgärdsbeskrivningen, kodtypsdeklarationen och metoden.

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

Initierar en ny instans av OperationContractGenerationContext klassen.

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

Initierar en ny instans av OperationContractGenerationContext klassen med den angivna kontraktsgeneratorn, kontraktskontexten, åtgärdsbeskrivningen, kodtypsdeklarationen, synkroniseringsmetoden, startmetoden, slutmetoden och uppgiftsmetoden.

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

Initierar en ny instans av klassen med hjälp av OperationContractGenerationContext den angivna kontraktsgeneratorn, kontraktskontexten, åtgärdsbeskrivningen, kodtypsdeklarationen, synkroniseringsmetoden och uppgiftsmetoden.

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)

Parametrar

serviceContractGenerator
ServiceContractGenerator

Den tjänstkontraktsgenerator som genererar koden.

contract
ServiceContractGenerationContext

Kontraktet och dess generationskontext.

operation
OperationDescription

Åtgärdsbeskrivningen för åtgärden som ska genereras.

declaringType
CodeTypeDeclaration

Den deklarerande kodtypen.

method
CodeMemberMethod

Den metod som ska genereras.

Gäller för

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

Initierar en ny instans av OperationContractGenerationContext klassen med den angivna kontraktsgeneratorn, kontraktskontexten, åtgärdsbeskrivningen, kodtypsdeklarationen och metoden.

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)

Parametrar

serviceContractGenerator
ServiceContractGenerator

Den tjänstkontraktsgenerator som genererar koden.

contract
ServiceContractGenerationContext

Kontraktet och dess generationskontext.

operation
OperationDescription

Åtgärdsbeskrivningen för åtgärden som ska genereras.

declaringType
CodeTypeDeclaration

Den deklarerande kodtypen.

syncMethod
CodeMemberMethod

Synkroniseringsmetoden som ska genereras.

taskMethod
CodeMemberMethod

Den aktivitetsmetod som används.

Gäller för

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

Initierar en ny instans av OperationContractGenerationContext klassen.

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)

Parametrar

serviceContractGenerator
ServiceContractGenerator

Den tjänstkontraktsgenerator som genererar koden.

contract
ServiceContractGenerationContext

Kontraktet och dess generationskontext.

operation
OperationDescription

Åtgärdsbeskrivningen för åtgärden som ska genereras.

declaringType
CodeTypeDeclaration

Den deklarerande kodtypen.

syncMethod
CodeMemberMethod

Synkron metod.

beginMethod
CodeMemberMethod

Den asynkrona startmetoden.

endMethod
CodeMemberMethod

Den asynkrona slutmetoden.

Gäller för

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

Initierar en ny instans av OperationContractGenerationContext klassen med den angivna kontraktsgeneratorn, kontraktskontexten, åtgärdsbeskrivningen, kodtypsdeklarationen, synkroniseringsmetoden, startmetoden, slutmetoden och uppgiftsmetoden.

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)

Parametrar

serviceContractGenerator
ServiceContractGenerator

Den tjänstkontraktsgenerator som genererar koden.

contract
ServiceContractGenerationContext

Kontraktet och dess generationskontext.

operation
OperationDescription

Åtgärdsbeskrivningen för åtgärden som ska genereras.

declaringType
CodeTypeDeclaration

Den deklarerande kodtypen.

syncMethod
CodeMemberMethod

Synkroniseringsmetoden som ska genereras.

beginMethod
CodeMemberMethod

Den asynkrona startmetoden.

endMethod
CodeMemberMethod

Den asynkrona slutmetoden.

taskMethod
CodeMemberMethod

Den aktivitetsmetod som används.

Gäller för