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

Thread.Suspend メソッド

メモ : このメソッドは、互換性のために残されています。

スレッド中断しますスレッドが既に中断されている場合無効です。

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

<ObsoleteAttribute("Thread.Suspend has been deprecated.  Please
 use other classes in System.Threading, such as Monitor, Mutex, Event, and Semaphore,
 to synchronize Threads or protect resources.  http://go.microsoft.com/fwlink/?linkid=14202", False)> _
Public Sub Suspend
Dim instance As Thread

instance.Suspend
[ObsoleteAttribute("Thread.Suspend has been deprecated.  Please use other classes
 in System.Threading, such as Monitor, Mutex, Event, and Semaphore,
 to synchronize Threads or protect resources.  http://go.microsoft.com/fwlink/?linkid=14202", false)] 
public void Suspend ()
[ObsoleteAttribute(L"Thread.Suspend has been deprecated.  Please use other classes
 in System.Threading, such as Monitor, Mutex, Event, and Semaphore,
 to synchronize Threads or protect resources.  http://go.microsoft.com/fwlink/?linkid=14202", false)] 
public:
void Suspend ()
/** @attribute ObsoleteAttribute("Thread.Suspend has been deprecated.  Please
 use other classes in System.Threading, such as Monitor, Mutex,
 Event, and Semaphore, to synchronize Threads or protect resources.  http://go.microsoft.com/fwlink/?linkid=14202", false) */ 
public void Suspend ()
ObsoleteAttribute("Thread.Suspend has been deprecated.  Please use other classes
 in System.Threading, such as Monitor, Mutex, Event, and Semaphore, to synchronize
 Threads or protect resources.  http://go.microsoft.com/fwlink/?linkid=14202", false) 
public function Suspend ()
例外例外
例外種類条件

ThreadStateException

スレッド起動されていないか、停止してます。

SecurityException

呼び出し元に適切な SecurityPermission がありません。

解説解説
.NET Framework のセキュリティ.NET Frameworkセキュリティ
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

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

   

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



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

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

©2025 GRAS Group, Inc.RSS