IVsWCFObject.IsValid Method
Determines whether a Windows Communication Foundation (WCF) service reference object has been invalidated.
Namespace: Microsoft.VisualStudio.WCFReference.Interop
Assembly: Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)
Syntax
声明
Function IsValid As Integer
int IsValid()
int IsValid()
abstract IsValid : unit -> int
function IsValid() : int
Return Value
Type: Int32
false if the object has been invalidated; otherwise true.
Remarks
The IsValid method returns false when the object has been invalidated, for example when the project is reloaded or when the object has been deleted from its parent collection.
.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.