IVsWCFObject Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Provides an interface for validating and reloading Windows Communication Foundation (WCF) service reference objects.
public interface class IVsWCFObject
public interface class IVsWCFObject
__interface IVsWCFObject
[System.Runtime.InteropServices.Guid("5E1F02CC-7A5F-4DB0-8D55-A05CC0A4AA56")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsWCFObject
[<System.Runtime.InteropServices.Guid("5E1F02CC-7A5F-4DB0-8D55-A05CC0A4AA56")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsWCFObject = interface
Public Interface IVsWCFObject
- Derived
- Attributes
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.
Methods
IsValid() |
Determines whether a Windows Communication Foundation (WCF) service reference object has been invalidated. |
Reload() |
Reloads a Windows Communication Foundation (WCF) service reference object. |