WssInterop コンストラクター
WssInteropの ASMX ベース web サービスからは、 WssInteropオブジェクトを作成します。
名前空間: WebSvcWssInterop
アセンブリ: ProjectServerServices (ProjectServerServices.dll 内)
構文
'宣言
Public Sub New
'使用
Dim instance As New WssInterop()
public WssInterop()
注釈
Windows 通信基盤 (WCF) API を使用するWssInteropと等価であるオブジェクトを作成するのには、 WssInteropClientコンス トラクターのいずれかを使用します。
例
次のステートメントではWssInteropWebSvcは、 WssInteropの ASMX ベース web サービスを任意の名前空間です。
private static WssInteropWebSvc.WssInterop wssInterop = new WssInteropWebSvc.WssInterop();
次のステートメントではSvcWssInteropは、任意の WCF ベースのWssInteropサービスの名前空間です。endptパラメーターは、app.config ファイル内に (または web アプリケーションの web.config ファイルで)、クライアントのエンドポイント アドレスの名前を指定するString値です。
private static SvcWssInterop.WssInteropClient wssInteropClient = new SvcWssInterop.WssInteropClient(endpt);