Partager via


IVsWCFReferenceGroupOptions.SetGenerateAsynchronousMethods Method

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)

Syntax

'Declaration
Sub SetGenerateAsynchronousMethods ( _
    bGenerateAsynchronousMethods As Integer _
)
void SetGenerateAsynchronousMethods(
    int bGenerateAsynchronousMethods
)
void SetGenerateAsynchronousMethods(
    [InAttribute] int bGenerateAsynchronousMethods
)
abstract SetGenerateAsynchronousMethods : 
        bGenerateAsynchronousMethods:int -> unit
function SetGenerateAsynchronousMethods(
    bGenerateAsynchronousMethods : int
)

Parameters

  • bGenerateAsynchronousMethods
    Type: System.Int32

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

Remarks

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

.NET Framework Security

See Also

Reference

IVsWCFReferenceGroupOptions Interface

Microsoft.VisualStudio.WCFReference.Interop Namespace