Partager via


WssInterop Constructor

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

Namespace:  [WssInterop Web service]
Service reference: http://ServerName:32843/[Project Service Application GUID]/PSI/WssInterop.svc
Web service reference: http://ServerName/ProjectServerName/_vti_bin/PSI/WssInterop.asmx?wsdl

Syntax

'Declaration
Public Sub New
'Usage

Dim instance As New WssInterop()
public WssInterop()

Remarks

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

Examples

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

private static WssInteropWebSvc.WssInterop wssInterop = new WssInteropWebSvc.WssInterop();

In the following statement, SvcWssInterop is an arbitrary namespace for the WCF-based WssInterop 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 SvcWssInterop.WssInteropClient wssInteropClient = new SvcWssInterop.WssInteropClient(endpt);

See Also

Reference

WssInterop Class

WssInterop Members

WssInterop Web Service