Редагувати

Поділитися через


Statusing Constructor

Definition

Creates an Statusing object from the ASMX-based Statusing web service.

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

Examples

In the following statement, WebSvcStatusing is an arbitrary namespace for the ASMX-based Statusing web service.

private static WebSvcStatusing.Statusing statusing = new WebSvcStatusing.Statusing();

In the following statement, WebSvcStatusing is an arbitrary namespace for the WCF-based Statusing service. The endpt parameter is a String value that specifies the name of the client endpoint address in the app.config file (or in the web.config file for web applications).

private static WebSvcStatusing.StatusingClient statusingClient = new WebSvcStatusing.StatusingClient(endpt);

Remarks

To create an object that is equivalent to Statusing by using the Windows Communication Foundation (WCF) API, use one of the StatusingClient constructors.

Applies to