Share via


IVsWCFObject.IsValid Method

Definition

Determines whether a Windows Communication Foundation (WCF) service reference object has been invalidated.

public:
 int IsValid();
public:
 int IsValid();
int IsValid();
public int IsValid ();
abstract member IsValid : unit -> int
Public Function IsValid () As Integer

Returns

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.

Applies to