IVsWCFReferenceGroupOptions.SetGenerateAsynchronousMethods 方法

设置该值来确定异步方法是否支持 windows 服务引用的通信基础 (WCF)。

命名空间:  Microsoft.VisualStudio.WCFReference.Interop
程序集:  Microsoft.VisualStudio.WCFReference.Interop(在 Microsoft.VisualStudio.WCFReference.Interop.dll 中)

语法

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

参数

  • bGenerateAsynchronousMethods
    类型:Int32

    支持异步方法的任何非零 Integer ;否则为 0。

备注

SetGenerateAsynchronousMethods 设置的值确定 生成异步操作 选项是否已注册 配置服务引用 对话框。

.NET Framework 安全性

请参阅

参考

IVsWCFReferenceGroupOptions 接口

Microsoft.VisualStudio.WCFReference.Interop 命名空间