IVsWCFObject Interface

Provides an interface for validating and reloading Windows Communication Foundation (WCF) service reference objects.

Namespace:  Microsoft.VisualStudio.WCFReference.Interop
Assembly:  Microsoft.VisualStudio.WCFReference.Interop (in Microsoft.VisualStudio.WCFReference.Interop.dll)

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("5E1F02CC-7A5F-4DB0-8D55-A05CC0A4AA56")> _
Public Interface IVsWCFObject
'Usage
Dim instance As IVsWCFObject
[InterfaceTypeAttribute()]
[GuidAttribute("5E1F02CC-7A5F-4DB0-8D55-A05CC0A4AA56")]
public interface IVsWCFObject
[InterfaceTypeAttribute()]
[GuidAttribute(L"5E1F02CC-7A5F-4DB0-8D55-A05CC0A4AA56")]
public interface class IVsWCFObject
public interface IVsWCFObject

Remarks

Changes to WCF reference objects are persisted immediately. In cases where WCF reference data is updated externally, for example by changing the files on disk directly, objects may become invalid. You can make sure that objects are in sync with files on disk by calling the Reload method.

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.

Calling either method on an invalid object causes an error. There is no way to make an invalid object valid again.

See Also

Reference

IVsWCFObject Members

Microsoft.VisualStudio.WCFReference.Interop Namespace