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)

public enum ServiceReferenceType

Member nameDescription
SRT_ASMXReference

Display only references to Web services (.asmx) that use ASP.NET.

SRT_WCFReference

Display only WCF service references.

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

Return to top
Show: