Export (0) Print
Expand All

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

Initializes a new instance of the OperationContractGenerationContext class.

Namespace: System.ServiceModel.Description
Assembly: System.ServiceModel (in system.servicemodel.dll)

public OperationContractGenerationContext (
	ServiceContractGenerator serviceContractGenerator,
	ServiceContractGenerationContext contract,
	OperationDescription operation,
	CodeTypeDeclaration declaringType,
	CodeMemberMethod syncMethod,
	CodeMemberMethod beginMethod,
	CodeMemberMethod endMethod
)
public OperationContractGenerationContext (
	ServiceContractGenerator serviceContractGenerator, 
	ServiceContractGenerationContext contract, 
	OperationDescription operation, 
	CodeTypeDeclaration declaringType, 
	CodeMemberMethod syncMethod, 
	CodeMemberMethod beginMethod, 
	CodeMemberMethod endMethod
)
public function OperationContractGenerationContext (
	serviceContractGenerator : ServiceContractGenerator, 
	contract : ServiceContractGenerationContext, 
	operation : OperationDescription, 
	declaringType : CodeTypeDeclaration, 
	syncMethod : CodeMemberMethod, 
	beginMethod : CodeMemberMethod, 
	endMethod : CodeMemberMethod
)
Not applicable.

Parameters

serviceContractGenerator

The service contract generator that generates the code.

contract

The contract and its generation context.

operation

The operation description for the operation to be generated.

declaringType

The declaring code type.

syncMethod

The synchronous method.

beginMethod

The asynchronous begin method.

endMethod

The asynchronous end method.

Windows 98, Windows Server 2000 SP4, Windows CE, Windows Millennium Edition, Windows Mobile for Pocket PC, Windows Mobile for Smartphone, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0

Community Additions

ADD
Show:
© 2014 Microsoft