ProcessModelSection.PingFrequency プロパティとは何? わかりやすく解説 Weblio辞書 (original) (raw)

メモ : このプロパティは、.NET Framework version 2.0新しく追加されたものです。

ISAPI 拡張機能ワーカー プロセスping実行してワーカー プロセス実行中かどうか確認する間隔を示す値を取得または設定します

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

Visual Basic (宣言)

Public Property PingFrequency As TimeSpan

Visual Basic (使用法)

Dim instance As ProcessModelSection Dim value As TimeSpan

value = instance.PingFrequency

instance.PingFrequency = value

C#

public TimeSpan PingFrequency { get; set; }

C++

public: property TimeSpan PingFrequency { TimeSpan get (); void set (TimeSpan value); }

J#

/** @property */ public TimeSpan get_PingFrequency ()

/** @property */ public void set_PingFrequency (TimeSpan value)

JScript

public function get PingFrequency () : TimeSpan

public function set PingFrequency (value : TimeSpan)

プロパティ
間隔定義する TimeSpan。既定値30 秒です。

解説解説

PingFrequency 期間が過ぎて実行されていないワーカー プロセス再起動 (バウンス) されます

使用例使用例

PingFrequency プロパティへのアクセス方法次のコード例示します

Visual Basic

' Get the current PingFrequency property value. Dim pingFreq As TimeSpan = _ processModelSection.PingFrequency

' Set the PingFrequency property to ' TimeSpan.Parse("00:01:00"). processModelSection.PingFrequency = _ TimeSpan.Parse("00:01:00")

C#

// Get the current PingFrequency property value. TimeSpan pingFreq = processModelSection.PingFrequency;

// Set the PingFrequency property to // TimeSpan.Parse("00:01:00"). processModelSection.PingFrequency = TimeSpan.Parse("00:01:00");

プラットフォームプラットフォーム

Windows 98, Windows 2000 SP4, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

開発プラットフォーム中には.NET Framework によってサポートされていないバージョンありますサポートされているバージョンについては、「システム要件」を参照してください

バージョン情報バージョン情報

.NET Framework
サポート対象 : 2.0

参照参照

関連項目
ProcessModelSection クラス
ProcessModelSection メンバ
System.Web.Configuration 名前空間
その他の技術情報
processModel 要素 (ASP.NET 設定スキーマ)