Share via


ServiceReferenceType Enumeration

Provides an enumeration for differentiating between references to a Windows Communication Foundation (WCF) service and references to Web services (.asmx) that use ASP.NET.

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

Syntax

'Declaration
Public Enumeration ServiceReferenceType
public enum ServiceReferenceType
public enum class ServiceReferenceType
type ServiceReferenceType
public enum ServiceReferenceType

Members

Member name Description
SRT_ASMXReference Display only references to Web services (.asmx) that use ASP.NET.
SRT_WCFReference Display only WCF service references.

Remarks

This enumeration is used by the ShowAddWebReferenceDialog method to control the types of references that are displayed in the Add Service Reference dialog box.

See Also

Reference

Microsoft.VisualStudio.WCFReference.Interop Namespace