IVsWCFObject.IsValid 方法

确定 windows communication foundation (WCF) 服务是否引用对象无效的。

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

语法

声明
Function IsValid As Integer
int IsValid()
int IsValid()
abstract IsValid : unit -> int
function IsValid() : int

返回值

类型:Int32
false ,如果对象无效的;否则 true。

备注

IsValid 方法返回 false ,当对象无效时,例如,当项目重新加载时,或者当对象从其父集合中删除。

.NET Framework 安全性

请参阅

参考

IVsWCFObject 接口

Microsoft.VisualStudio.WCFReference.Interop 命名空间