IChannelReceiver.StopListening メソッド
アセンブリ: mscorlib (mscorlib.dll 内)



データ オブジェクトは、特定の状態をチャネルに渡すために使用できます。

' Extract the channel URI and the remote well known object URI from the specified URL. Console.WriteLine("Parsed : " + _ myHttpServerChannel.Parse(myHttpServerChannel.GetChannelUri() + "/SayHello", myString)) Console.WriteLine("Remote WellKnownObject : " + myString) Console.WriteLine("Hit <enter> to stop listening...") Console.ReadLine() ' Stop listening to channel. myHttpServerChannel.StopListening(CType(myPort, Object))
// Extract the channel URI and the remote well known object URI from the specified URL. Console.WriteLine("Parsed : " + myHttpServerChannel.Parse(myHttpServerChannel.GetChannelUri()+ "/SayHello",out myString)); Console.WriteLine("Remote WellKnownObject : " + myString); Console.WriteLine("Hit <enter> to stop listening..."); Console.ReadLine(); // Stop listening to channel. myHttpServerChannel.StopListening((object)myPort);
// Extract the channel URI and the remote well known object URI from the specified URL. Console::WriteLine( "Parsed : {0}", myHttpServerChannel->Parse( String::Concat( myHttpServerChannel->GetChannelUri(), "/SayHello" ), myString ) ); Console::WriteLine( "Remote WellKnownObject : {0}", myString ); Console::WriteLine( "Hit <enter> to stop listening..." ); Console::ReadLine(); // Stop listening to channel. myHttpServerChannel->StopListening( myPort );


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


- IChannelReceiver.StopListening メソッドのページへのリンク