IVsWCFReferenceGroupDetails Interface

Provides access to configuration and code generation information for a Windows Communication Foundation (WCF) service reference returned from the Add Service Reference dialog box.

Namespace:  Microsoft.VisualStudio.ManagedInterfaces9
Assembly:  Microsoft.VisualStudio.ManagedInterfaces.WCF (in Microsoft.VisualStudio.ManagedInterfaces.WCF.dll)

Syntax

声明
Public Interface IVsWCFReferenceGroupDetails
public interface IVsWCFReferenceGroupDetails
public interface class IVsWCFReferenceGroupDetails
type IVsWCFReferenceGroupDetails =  interface end
public interface IVsWCFReferenceGroupDetails

The IVsWCFReferenceGroupDetails type exposes the following members.

Methods

  Name Description
Public method GetGeneratedCode Returns the CodeCompileUnit that contains code generated for a Windows Communication Foundation (WCF) service reference.
Public method GetGeneratedContractType Returns the name of a contract type in a Windows Communication Foundation (WCF) service reference.
Public method GetGeneratedEndpointNameInConfiguration Returns the name of an endpoint configuration generated by ServiceEndpoint.
Public method GetServiceEndpoints Returns an IEnumerable collection that contains the endpoints for a Windows Communication Foundation (WCF) service reference.

Top

Remarks

Use this interface to return information about a new WCF service reference before it has been saved in a project.

备注

All objects returned by this interface should be treated as read-only. Any changes applied to these objects will not be persisted.

The configuration detail information related to a WCF service reference can be accessed only through the IVsWCFReferenceGroupDetails managed interface. This is because this interface has to return managed objects such as the System.CodeDom tree.

See Also

Reference

Microsoft.VisualStudio.ManagedInterfaces9 Namespace