IChannelReceiver.StopListening メソッドとは? わかりやすく解説

Weblio 辞書 > コンピュータ > .NET Framework クラス ライブラリ リファレンス > IChannelReceiver.StopListening メソッドの意味・解説 

IChannelReceiver.StopListening メソッド

現在のチャネルに対して要求待機停止するように指示します

名前空間: System.Runtime.Remoting.Channels
アセンブリ: mscorlib (mscorlib.dll 内)
構文構文

Sub StopListening ( _
    data As Object _
)
Dim instance As IChannelReceiver
Dim data As Object

instance.StopListening(data)
void StopListening (
    Object data
)
void StopListening (
    Object^ data
)
void StopListening (
    Object data
)
function StopListening (
    data : Object
)

パラメータ

data

チャネルオプションの状態情報

例外例外
解説解説
使用例使用例
' 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 );
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
IChannelReceiver インターフェイス
IChannelReceiver メンバ
System.Runtime.Remoting.Channels 名前空間



英和和英テキスト翻訳>> Weblio翻訳
英語⇒日本語日本語⇒英語
  

辞書ショートカット

すべての辞書の索引

IChannelReceiver.StopListening メソッドのお隣キーワード
検索ランキング

   

英語⇒日本語
日本語⇒英語
   



IChannelReceiver.StopListening メソッドのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

   
日本マイクロソフト株式会社日本マイクロソフト株式会社
© 2025 Microsoft.All rights reserved.

©2025 GRAS Group, Inc.RSS