IVsWCFReferenceGroupOptions.GetGenerateAsynchronousMethods Method
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)
Syntax
'Declaration
Function GetGenerateAsynchronousMethods As Integer
int GetGenerateAsynchronousMethods()
int GetGenerateAsynchronousMethods()
abstract GetGenerateAsynchronousMethods : unit -> int
function GetGenerateAsynchronousMethods() : int
Return Value
Type: System.Int32
0 if asynchronous methods are not supported; otherwise any non-zero Integer.
Remarks
The value returned by GetGenerateAsynchronousMethods determines whether the Generate asynchronous operations option is checked in the Configure Service Reference dialog box.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.