Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

LookupTable constructor

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

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

public LookupTable()

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

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);
Show:
© 2015 Microsoft