LookupTable constructor

Creates a LookupTable object from the ASMX-based LookupTable web service.

Namespace:  WebSvcLookupTable
Assembly:  ProjectServerServices (in ProjectServerServices.dll)

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New LookupTable()
public LookupTable()

Remarks

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

Examples

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

private static LookupTableWebSvc.LookupTable lookupTable = new LookupTableWebSvc.LookupTable();

In the following statement, SvcLookupTable is an arbitrary namespace for the WCF-based LookupTable 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 SvcLookupTable.LookupTableClient lookupTableClient = new SvcLookupTable.LookupTableClient(endpt);

See also

Reference

LookupTable class

LookupTable members

WebSvcLookupTable namespace