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

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

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

// Create the server channel. System.Collections.IDictionary properties = new System.Collections.Hashtable(); properties["name"] = "ipc"; properties["priority"] = "20"; properties["portName"] = "localhost:9090"; IpcServerChannel serverChannel = new IpcServerChannel(properties, null);
// Create the server channel. System::Collections::IDictionary^ properties = gcnew System::Collections::Hashtable; properties->default[ L"name" ] = L"ipc"; properties->default[ L"priority" ] = L"20"; properties->default[ L"portName" ] = L"localhost:9090"; IpcServerChannel^ serverChannel = gcnew IpcServerChannel( properties, nullptr );


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


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

Public Sub New ( _ properties As IDictionary, _ sinkProvider As IServerChannelSinkProvider, _ securityDescriptor As CommonSecurityDescriptor _ )
Dim properties As IDictionary Dim sinkProvider As IServerChannelSinkProvider Dim securityDescriptor As CommonSecurityDescriptor Dim instance As New IpcServerChannel(properties, sinkProvider, securityDescriptor)
public IpcServerChannel ( IDictionary properties, IServerChannelSinkProvider sinkProvider, CommonSecurityDescriptor securityDescriptor )
public: IpcServerChannel ( IDictionary^ properties, IServerChannelSinkProvider^ sinkProvider, CommonSecurityDescriptor^ securityDescriptor )
public IpcServerChannel ( IDictionary properties, IServerChannelSinkProvider sinkProvider, CommonSecurityDescriptor securityDescriptor )
public function IpcServerChannel ( properties : IDictionary, sinkProvider : IServerChannelSinkProvider, securityDescriptor : CommonSecurityDescriptor )

チャネル構成プロパティの詳細については、「チャネルおよびフォーマッタの構成プロパティ」を参照してください。
シンク機能が不要な場合は、sinkProvider パラメータを null 参照 (Visual Basic では Nothing) に設定します。セキュリティ記述子が不要な場合は、securityDescriptor パラメータを 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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。


IpcServerChannel コンストラクタ

名前 | 説明 |
---|---|
IpcServerChannel (String) | IPC ポート名を指定して IpcServerChannel クラスの新しいインスタンスを初期化します。 |
IpcServerChannel (IDictionary, IServerChannelSinkProvider) | チャネル プロパティとシンクを指定して、IpcServerChannel クラスの新しいインスタンスを初期化します。 |
IpcServerChannel (String, String) | チャネル名と IPC ポート名を指定して、IpcServerChannel クラスの新しいインスタンスを初期化します。 |
IpcServerChannel (IDictionary, IServerChannelSinkProvider, CommonSecurityDescriptor) | チャネル プロパティ、シンク、およびセキュリティ記述子を指定して、IpcServerChannel クラスの新しいインスタンスを初期化します。 |
IpcServerChannel (String, String, IServerChannelSinkProvider) | チャネル名、IPC ポート名、およびシンクを指定して、IpcServerChannel クラスの新しいインスタンスを初期化します。 |

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

Public Sub New ( _ name As String, _ portName As String, _ sinkProvider As IServerChannelSinkProvider _ )
Dim name As String Dim portName As String Dim sinkProvider As IServerChannelSinkProvider Dim instance As New IpcServerChannel(name, portName, sinkProvider)
public: IpcServerChannel ( String^ name, String^ portName, IServerChannelSinkProvider^ sinkProvider )
public function IpcServerChannel ( name : String, portName : String, sinkProvider : IServerChannelSinkProvider )

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


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


// Create and register an IPC channel IpcServerChannel serverChannel = new IpcServerChannel("remote"); ChannelServices.RegisterChannel(serverChannel);


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


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





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


- IpcServerChannel コンストラクタのページへのリンク