IpcChannel.ChannelData プロパティ
アセンブリ: System.Runtime.Remoting (system.runtime.remoting.dll 内)
構文
解説System.Object のインスタンスとして返されますが、このプロパティの値は、HttpServerChannel オブジェクトが待機するチャネルを記述した ChannelDataStore のインスタンスにキャストできます。
使用例ChannelData プロパティを使用する方法を次のコード例に示します。このコード例は、IpcChannel クラスのトピックで取り上げているコード例の一部分です。
// Show the URIs associated with the channel. System.Runtime.Remoting.Channels.ChannelDataStore channelData = (System.Runtime.Remoting.Channels.ChannelDataStore) serverChannel.ChannelData; foreach (string uri in channelData.ChannelUris) { Console.WriteLine("The channel URI is {0}.", uri); }
// Show the URIs associated with the channel. System::Runtime::Remoting::Channels::ChannelDataStore^ channelData = (System::Runtime::Remoting::Channels::ChannelDataStore^)serverChannel->ChannelData; for each (String^ uri in channelData->ChannelUris) { Console::WriteLine("The channel URI is {0}.", uri); }
.NET Framework のセキュリティ
プラットフォーム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 によってサポートされていないバージョンがあります。サポートされているバージョンについては、「システム要件」を参照してください。
バージョン情報
参照- IpcChannel.ChannelData プロパティのページへのリンク