ContractReference コンストラクタ ()
アセンブリ: System.Web.Services (system.web.services.dll 内)



ContractReference の新しいインスタンスを作成するコード例を次に示します。
' Call the Constructor of ContractReference. Dim myContractReference As New ContractReference()
// Call the Constructor of ContractReference. ContractReference myContractReference = new ContractReference();
// Call the Constructor of ContractReference.
ContractReference^ myContractReference = gcnew ContractReference;
// Call the Constructor of ContractReference. ContractReference myContractReference = new ContractReference();

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


ContractReference コンストラクタ (String)
アセンブリ: System.Web.Services (system.web.services.dll 内)


このコンストラクタを使用して、指定した参照名で ContractReference クラスの新しいインスタンスを作成し、初期化します。
ContractReference のインスタンスの初期プロパティ値を次の表に示します。

'Create a ContractReference using a reference to a service description. Dim myContractReference As _ New ContractReference("http://localhost/Service1.asmx?wsdl")
// Create a ContractReference using a reference to a service description. ContractReference myContractReference = new ContractReference ("http://localhost/Service1.asmx?wsdl");

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


ContractReference コンストラクタ (String, String)
アセンブリ: System.Web.Services (system.web.services.dll 内)


このコンストラクタを使用して、指定した参照名と docRef で ContractReference クラスの新しいインスタンスを作成し、初期化します。
ContractReference のインスタンスの初期プロパティ値を次の表に示します。

' Create a ContractReference using a service description ' and an XML Web service. Dim myContractReference As New ContractReference _ ("http://localhost/Service1.asmx?wsdl", _ "http://localhost/Service1.asmx")
// Create a ContractReference using a service description and // an XML Web service. ContractReference myContractReference = new ContractReference ("http://localhost/Service1.asmx?wsdl", "http://localhost/Service1.asmx");

Windows 98, Windows 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition
開発プラットフォームの中には、.NET Framework によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


ContractReference コンストラクタ

名前 | 説明 |
---|---|
ContractReference () | 既定値を使用して ContractReference クラスの新しいインスタンスを初期化します。 |
ContractReference (String) | サービスの説明への参照を指定して、ContractReference の新しいインスタンスを初期化します。 |
ContractReference (String, String) | サービスの説明への参照、およびサービスの説明を実装している XML Web サービスを指定して、ContractReference クラスの新しいインスタンスを初期化します。 |

- ContractReference コンストラクタ ()のページへのリンク