IpcClientChannel コンストラクタ ()
アセンブリ: System.Runtime.Remoting (system.runtime.remoting.dll 内)



IpcClientChannel clientChannel = new IpcClientChannel(); ChannelServices.RegisterChannel(clientChannel);
IpcClientChannel^ clientChannel = gcnew IpcClientChannel; ChannelServices::RegisterChannel( clientChannel );


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


IpcClientChannel コンストラクタ (IDictionary, IClientChannelSinkProvider)
アセンブリ: System.Runtime.Remoting (system.runtime.remoting.dll 内)

Public Sub New ( _ properties As IDictionary, _ sinkProvider As IClientChannelSinkProvider _ )
Dim properties As IDictionary Dim sinkProvider As IClientChannelSinkProvider Dim instance As New IpcClientChannel(properties, sinkProvider)
public IpcClientChannel ( IDictionary properties, IClientChannelSinkProvider sinkProvider )
public: IpcClientChannel ( IDictionary^ properties, IClientChannelSinkProvider^ sinkProvider )
public IpcClientChannel ( IDictionary properties, IClientChannelSinkProvider sinkProvider )
public function IpcClientChannel ( properties : IDictionary, sinkProvider : IClientChannelSinkProvider )

チャネル構成プロパティの詳細については、「チャネルおよびフォーマッタの構成プロパティ」を参照してください。
シンク機能が不要な場合は、sinkProvider パラメータを null 参照 (Visual Basic では Nothing) に設定します。

// Create the client channel. System.Collections.IDictionary properties = new System.Collections.Hashtable(); properties["name"] = "ipc client"; properties["priority"] = "1"; System.Runtime.Remoting.Channels.IClientChannelSinkProvider sinkProvider = null; IpcClientChannel clientChannel = new IpcClientChannel(properties, sinkProvider);
// Create the client channel. System::Collections::IDictionary^ properties = gcnew System::Collections::Hashtable; properties->default[ L"name" ] = L"ipc client"; properties->default[ L"priority" ] = L"1"; IClientChannelSinkProvider^ sinkProvider = nullptr; IpcClientChannel^ clientChannel = gcnew IpcClientChannel( properties,sinkProvider );


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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


IpcClientChannel コンストラクタ (String, IClientChannelSinkProvider)
アセンブリ: System.Runtime.Remoting (system.runtime.remoting.dll 内)

Dim name As String Dim sinkProvider As IClientChannelSinkProvider Dim instance As New IpcClientChannel(name, sinkProvider)

このコンストラクタは、name パラメータを使用して ChannelName プロパティを設定します。複数のチャネルを登録する場合は、各チャネルに一意の名前を付ける必要があります。
シンク機能が不要な場合は、sinkProvider パラメータを null 参照 (Visual Basic では Nothing) に設定します。



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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


IpcClientChannel コンストラクタ

名前 | 説明 |
---|---|
IpcClientChannel () | IpcServerChannel クラスの新しいインスタンスを初期化します。 |
IpcClientChannel (IDictionary, IClientChannelSinkProvider) | 構成プロパティとシンクを指定して、IpcClientChannel クラスの新しいインスタンスを初期化します。 |
IpcClientChannel (String, IClientChannelSinkProvider) | 名前とシンクを指定して、IpcClientChannel クラスの新しいインスタンスを初期化します。 |

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