确定异步方法是否支持 windows 服务引用的通信基础 (WCF)。
命名空间: Microsoft.VisualStudio.WCFReference.Interop
程序集: Microsoft.VisualStudio.WCFReference.Interop(在 Microsoft.VisualStudio.WCFReference.Interop.dll 中)
语法
声明
Function GetGenerateAsynchronousMethods As Integer
int GetGenerateAsynchronousMethods()
int GetGenerateAsynchronousMethods()
abstract GetGenerateAsynchronousMethods : unit -> int
function GetGenerateAsynchronousMethods() : int
返回值
类型:Int32
0,如果异步方法不支持;否则任何非零 Integer。
备注
GetGenerateAsynchronousMethods 返回的值确定 生成异步操作 选项是否已注册 配置服务引用 对话框。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。