OperationContractGenerationContext Constructors
Definitie
Belangrijk
Bepaalde informatie heeft betrekking op een voorlopige productversie die aanzienlijk kan worden gewijzigd voordat deze wordt uitgebracht. Microsoft biedt geen enkele expliciete of impliciete garanties met betrekking tot de informatie die hier wordt verstrekt.
Initialiseert een nieuw exemplaar van de OperationContractGenerationContext klasse.
Overloads
OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod)
Initialiseert een nieuw exemplaar van de OperationContractGenerationContext klasse met behulp van de opgegeven contractgenerator, contractcontext, beschrijving van de bewerking, declaratie van codetypen, synchronisatiemethode en taakmethode.
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)
Parameters
- serviceContractGenerator
- ServiceContractGenerator
De servicecontractgenerator waarmee de code wordt gegenereerd.
- contract
- ServiceContractGenerationContext
Het contract en de bijbehorende generatiecontext.
- operation
- OperationDescription
De beschrijving van de bewerking die moet worden gegenereerd.
- declaringType
- CodeTypeDeclaration
Het codetype declareren.
- method
- CodeMemberMethod
De methode die moet worden gegenereerd.
Van toepassing op
OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod)
Initialiseert een nieuw exemplaar van de OperationContractGenerationContext klasse met behulp van de opgegeven contractgenerator, contractcontext, beschrijving van de bewerking, declaratie van het codetype en de methode.
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)
Parameters
- serviceContractGenerator
- ServiceContractGenerator
De servicecontractgenerator waarmee de code wordt gegenereerd.
- contract
- ServiceContractGenerationContext
Het contract en de bijbehorende generatiecontext.
- operation
- OperationDescription
De beschrijving van de bewerking die moet worden gegenereerd.
- declaringType
- CodeTypeDeclaration
Het codetype declareren.
- syncMethod
- CodeMemberMethod
De synchronisatiemethode die moet worden gegenereerd.
- taskMethod
- CodeMemberMethod
De gebruikte taakmethode.
Van toepassing op
OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod)
Initialiseert een nieuw exemplaar van de OperationContractGenerationContext klasse.
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)
Parameters
- serviceContractGenerator
- ServiceContractGenerator
De servicecontractgenerator waarmee de code wordt gegenereerd.
- contract
- ServiceContractGenerationContext
Het contract en de bijbehorende generatiecontext.
- operation
- OperationDescription
De beschrijving van de bewerking die moet worden gegenereerd.
- declaringType
- CodeTypeDeclaration
Het codetype declareren.
- syncMethod
- CodeMemberMethod
De synchrone methode.
- beginMethod
- CodeMemberMethod
De asynchrone beginmethode.
- endMethod
- CodeMemberMethod
De asynchrone eindmethode.
Van toepassing op
OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod)
Initialiseert een nieuw exemplaar van de OperationContractGenerationContext klasse met behulp van de opgegeven contractgenerator, contractcontext, beschrijving van de bewerking, declaratie van codetypen, synchronisatiemethode, beginmethode, eindmethode en taakmethode.
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)
Parameters
- serviceContractGenerator
- ServiceContractGenerator
De servicecontractgenerator waarmee de code wordt gegenereerd.
- contract
- ServiceContractGenerationContext
Het contract en de bijbehorende generatiecontext.
- operation
- OperationDescription
De beschrijving van de bewerking die moet worden gegenereerd.
- declaringType
- CodeTypeDeclaration
Het codetype declareren.
- syncMethod
- CodeMemberMethod
De synchronisatiemethode die moet worden gegenereerd.
- beginMethod
- CodeMemberMethod
De asynchrone beginmethode.
- endMethod
- CodeMemberMethod
De asynchrone eindmethode.
- taskMethod
- CodeMemberMethod
De gebruikte taakmethode.