OperationContractGenerationContext Constructores
Definición
Importante
Parte de la información hace referencia a la versión preliminar del producto, que puede haberse modificado sustancialmente antes de lanzar la versión definitiva. Microsoft no otorga ninguna garantía, explícita o implícita, con respecto a la información proporcionada aquí.
Inicializa una nueva instancia de la clase OperationContractGenerationContext.
Sobrecargas
OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod)
Inicializa una nueva instancia de la clase OperationContractGenerationContext mediante el generador de contrato, el contexto del contrato, la descripción de la operación, la declaración de tipos del código y el método de sincronización y el método de tareas especificados.
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)
Parámetros
- serviceContractGenerator
- ServiceContractGenerator
Generador de contrato de servicio que genera el código.
- contract
- ServiceContractGenerationContext
Contrato y su contexto de generación.
- operation
- OperationDescription
Descripción de la operación para la operación que se va a generar.
- declaringType
- CodeTypeDeclaration
Declaración de tipos del código.
- method
- CodeMemberMethod
Método que se va a generar.
Se aplica a
OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod)
Inicializa una nueva instancia de la clase OperationContractGenerationContext mediante el generador de contrato, el contexto del contrato, la descripción de la operación, la declaración de tipos del código y el método especificados.
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)
Parámetros
- serviceContractGenerator
- ServiceContractGenerator
Generador de contrato de servicio que genera el código.
- contract
- ServiceContractGenerationContext
Contrato y su contexto de generación.
- operation
- OperationDescription
Descripción de la operación para la operación que se va a generar.
- declaringType
- CodeTypeDeclaration
Declaración de tipos del código.
- syncMethod
- CodeMemberMethod
Método de sincronización que se va a generar.
- taskMethod
- CodeMemberMethod
Método de tarea usado.
Se aplica a
OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod)
Inicializa una nueva instancia de la clase 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)
Parámetros
- serviceContractGenerator
- ServiceContractGenerator
Generador de contrato de servicio que genera el código.
- contract
- ServiceContractGenerationContext
Contrato y su contexto de generación.
- operation
- OperationDescription
Descripción de la operación para la operación que se va a generar.
- declaringType
- CodeTypeDeclaration
Declaración de tipos del código.
- syncMethod
- CodeMemberMethod
Método sincrónico.
- beginMethod
- CodeMemberMethod
Método de inicio asincrónico.
- endMethod
- CodeMemberMethod
Método de finalización asincrónico.
Se aplica a
OperationContractGenerationContext(ServiceContractGenerator, ServiceContractGenerationContext, OperationDescription, CodeTypeDeclaration, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod, CodeMemberMethod)
Inicializa una nueva instancia de la clase OperationContractGenerationContext mediante el generador de contrato, el contexto del contrato, la descripción de la operación, la declaración de tipos del código y el método de sincronización, el método de inicio, el método de finalización y el método de tareas especificados.
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)
Parámetros
- serviceContractGenerator
- ServiceContractGenerator
Generador de contrato de servicio que genera el código.
- contract
- ServiceContractGenerationContext
Contrato y su contexto de generación.
- operation
- OperationDescription
Descripción de la operación para la operación que se va a generar.
- declaringType
- CodeTypeDeclaration
Declaración de tipos del código.
- syncMethod
- CodeMemberMethod
Método de sincronización que se va a generar.
- beginMethod
- CodeMemberMethod
Método de inicio asincrónico.
- endMethod
- CodeMemberMethod
Método de finalización asincrónico.
- taskMethod
- CodeMemberMethod
Método de tarea usado.