WarningException クラスとは? わかりやすく解説

WarningException クラス

エラーではなく警告として処理される例外指定します

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

<SerializableAttribute> _
Public Class WarningException
    Inherits SystemException
Dim instance As WarningException
[SerializableAttribute] 
public class WarningException : SystemException
[SerializableAttribute] 
public ref class WarningException : public
 SystemException
/** @attribute SerializableAttribute() */ 
public class WarningException extends SystemException
SerializableAttribute 
public class WarningException extends
 SystemException
解説解説
使用例使用例

警告キャッチし、その警告メッセージ解釈する方法次のコード例示します

Dim myEx As New WarningException("This
 is a warning")
Console.WriteLine(myEx.Message)
Console.WriteLine(myEx.ToString())
WarningException myEx=new WarningException("This is a warning");
        
Console.WriteLine(myEx.Message);
Console.WriteLine(myEx.ToString());
WarningException^ myEx = gcnew WarningException( "This is a warning" );
Console::WriteLine( myEx->Message );
Console::WriteLine( myEx->ToString() );
WarningException myEx = new WarningException("This is a warning");
Console.WriteLine(myEx.get_Message());
Console.WriteLine(myEx.ToString());
継承階層継承階層
System.Object
   System.Exception
     System.SystemException
      System.ComponentModel.WarningException
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照



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

辞書ショートカット

すべての辞書の索引

「WarningException クラス」の関連用語

WarningException クラスのお隣キーワード
検索ランキング

   

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



WarningException クラスのページの著作権
Weblio 辞書 情報提供元は 参加元一覧 にて確認できます。

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

©2024 GRAS Group, Inc.RSS