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

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

DatabaseNotEnabledForNotificationException クラス

メモ : このクラスは、.NET Framework version 2.0新しく追加されたものです。

SqlCacheDependency クラス関連付けられている依存関係SQL Server データベースサポートできない場合スローされる例外。このクラス継承できません。

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

<SerializableAttribute> _
Public NotInheritable Class
 DatabaseNotEnabledForNotificationException
    Inherits SystemException
Dim instance As DatabaseNotEnabledForNotificationException
[SerializableAttribute] 
public sealed class DatabaseNotEnabledForNotificationException
 : SystemException
[SerializableAttribute] 
public ref class DatabaseNotEnabledForNotificationException
 sealed : public SystemException
/** @attribute SerializableAttribute() */ 
public final class DatabaseNotEnabledForNotificationException
 extends SystemException
SerializableAttribute 
public final class DatabaseNotEnabledForNotificationException
 extends SystemException
使用例使用例

SQL Server データベース変更通知設定する単純な管理ページ例外ハンドラコード例次に示します

例の実行必要なコード全体については、SqlCacheDependencyAdmin クラス概要トピックで「例」を参照してください

Catch ex As DatabaseNotEnabledForNotificationException
  enabledTables.Visible = False
  disableTable.Visible = False
  enabledTablesMsg.Text = "Cache notifications are not enabled
 in this database."

  tableName.Visible = False
  enableTable.Visible = False
  tableEnableMsg.Text = "Must enable database for notifications
 before enabling tables."
End Try
catch (DatabaseNotEnabledForNotificationException ex)
{
  enabledTables.Visible = false;
  disableTable.Visible = false;
  enabledTablesMsg.Text = "Cache notifications are not enabled in
 this database.";

  tableName.Visible = false;
  enableTable.Visible = false;
  tableEnableMsg.Text = "Must enable database for notifications
 before enabling tables";
}
継承階層継承階層
System.Object
   System.Exception
     System.SystemException
      System.Web.Caching.DatabaseNotEnabledForNotificationException
スレッド セーフスレッド セーフ
この型の public static (Visual Basic では Shared) メンバはすべて、スレッド セーフです。インスタンス メンバ場合は、スレッド セーフであるとは限りません。
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
DatabaseNotEnabledForNotificationException メンバ
System.Web.Caching 名前空間


このページでは「.NET Framework クラス ライブラリ リファレンス」からDatabaseNotEnabledForNotificationException クラスを検索した結果を表示しています。
Weblioに収録されているすべての辞書からDatabaseNotEnabledForNotificationException クラスを検索する場合は、下記のリンクをクリックしてください。
 全ての辞書からDatabaseNotEnabledForNotificationException クラス を検索

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

辞書ショートカット

すべての辞書の索引

「DatabaseNotEnabledForNotificationException クラス」の関連用語

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

   

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



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

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

©2025 GRAS Group, Inc.RSS