IVsWCFReferenceGroupOptions::SetGenerateAsynchronousMethods Method (Int32)

 

Sets a value that determines whether asynchronous methods are supported for a Windows Communication Foundation (WCF) service reference.

Namespace:   Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

void SetGenerateAsynchronousMethods(
	int bGenerateAsynchronousMethods
)

Parameters

bGenerateAsynchronousMethods
Type: System::Int32

Any non-zero Integer to support asynchronous methods; otherwise 0.

The value set by SetGenerateAsynchronousMethods determines whether the Generate asynchronous operations option is checked in the Configure Service Reference dialog box.

Return to top
Show: