Share via


ServiceReferenceType Enum

Definition

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

public enum class ServiceReferenceType
public enum class ServiceReferenceType
enum ServiceReferenceType
public enum ServiceReferenceType
type ServiceReferenceType = 
Public Enum ServiceReferenceType
Inheritance
ServiceReferenceType

Fields

Name Value Description
SRT_ASMXReference 1

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

SRT_WCFReference 2

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.

Applies to