ServiceReference Constructors

Definition

Initializes a new instance of the ServiceReference class.

Overloads

ServiceReference()

Initializes a new instance of the ServiceReference class.

ServiceReference(String)

Initializes a new instance of the ServiceReference class with a specified path.

ServiceReference()

Initializes a new instance of the ServiceReference class.

public:
 ServiceReference();
public ServiceReference ();
Public Sub New ()

Applies to

ServiceReference(String)

Initializes a new instance of the ServiceReference class with a specified path.

public:
 ServiceReference(System::String ^ path);
public ServiceReference (string path);
new System.Web.UI.ServiceReference : string -> System.Web.UI.ServiceReference
Public Sub New (path As String)

Parameters

path
String

The location of the Web service.

Applies to