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)

int IsValid()

Return Value

Type: System::Int32

false if the object has been invalidated; otherwise true.

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.

Return to top
Show: