ProfileSettings コンストラクタとは? わかりやすく解説

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

ProfileSettings コンストラクタ (String, Int32, Int32, TimeSpan, String)

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

指定した設定使用して、BufferModeSettings クラス新しインスタンス初期化します。

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

Public Sub New ( _
    name As String, _
    minInstances As Integer, _
    maxLimit As Integer, _
    minInterval As TimeSpan, _
    custom As String _
)
Dim name As String
Dim minInstances As Integer
Dim maxLimit As Integer
Dim minInterval As TimeSpan
Dim custom As String

Dim instance As New ProfileSettings(name,
 minInstances, maxLimit, minInterval, custom)
public ProfileSettings (
    string name,
    int minInstances,
    int maxLimit,
    TimeSpan minInterval,
    string custom
)
public:
ProfileSettings (
    String^ name, 
    int minInstances, 
    int maxLimit, 
    TimeSpan minInterval, 
    String^ custom
)
public ProfileSettings (
    String name, 
    int minInstances, 
    int maxLimit, 
    TimeSpan minInterval, 
    String custom
)
public function ProfileSettings (
    name : String, 
    minInstances : int, 
    maxLimit : int, 
    minInterval : TimeSpan, 
    custom : String
)

パラメータ

name

作成する ProfileSettings オブジェクトの名前。

minInstances

イベントプロバイダに対して発生するまでのイベント最小出現回数

maxLimit

同じ型のイベント発生できる最大回数

minInterval

同じ型の 2 つイベント間隔最短時間指定する TimeSpan。

custom

IWebEventCustomEvaluator を実装するカスタム クラスの完全に修飾された型。

使用例使用例

ProfileSettings コンストラクタ使用するコード例次に示します。このコード例は、HealthMonitoringSection クラストピック取り上げているコード例一部分です。

' Add a ProfileSettings object to the Profiles collection property.
healthMonitoringSection.Profiles.Add(new ProfileSettings("Targeted",
 _
    1, Int32.MaxValue, new TimeSpan(0, 0, 10), _
    "MyEvaluators.MyTargetedEvaluator, MyCustom.dll"))
// Add a ProfileSettings object to the Profiles collection property.
healthMonitoringSection.Profiles.Add(new ProfileSettings("Targeted",
 
    1, Int32.MaxValue, new TimeSpan(0, 0, 10), 
    "MyEvaluators.MyTargetedEvaluator, MyCustom.dll"));
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ProfileSettings クラス
ProfileSettings メンバ
System.Web.Configuration 名前空間
HealthMonitoringSection クラス
BufferModeSettings クラス

ProfileSettings コンストラクタ (String)

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

指定した名前を使用してProfileSettings クラス新しインスタンス初期化します。

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

public ProfileSettings (
    string name
)
public:
ProfileSettings (
    String^ name
)
public ProfileSettings (
    String name
)
public function ProfileSettings (
    name : String
)

パラメータ

name

作成する ProfileSettings オブジェクトの名前。

解説解説

このコンストラクタ使用される既定設定次の表に示します

プロパティ

既定値

Custom

空の文字列 ("")。

MaxLimit

MaxValue

MinInstances

1

MinInterval

Zero

使用例使用例

ProfileSettings コンストラクタ使用するコード例次に示します。このコード例は、HealthMonitoringSection クラストピック取り上げているコード例一部分です。

' Add a ProfileSettings object to the Profiles collection property.
healthMonitoringSection.Profiles.Add(new ProfileSettings("Default"))
// Add a ProfileSettings object to the Profiles collection property.
healthMonitoringSection.Profiles.Add(new ProfileSettings("Default"));
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ProfileSettings クラス
ProfileSettings メンバ
System.Web.Configuration 名前空間
HealthMonitoringSection クラス
BufferModeSettings クラス
HealthMonitoringSection クラス
BufferModeSettings クラス

ProfileSettings コンストラクタ

ProfileSettings クラス新しインスタンス初期化します。 HealthMonitoringSection BufferModeSettings
オーバーロードの一覧オーバーロードの一覧

名前 説明
ProfileSettings (String) 指定した名前を使用してProfileSettings クラス新しインスタンス初期化します。
ProfileSettings (String, Int32, Int32, TimeSpan) 指定した設定使用してProfileSettings クラス新しインスタンス初期化します。
ProfileSettings (String, Int32, Int32, TimeSpan, String) 指定した設定使用してBufferModeSettings クラス新しインスタンス初期化します。
参照参照

関連項目

ProfileSettings クラス
ProfileSettings メンバ
System.Web.Configuration 名前空間
HealthMonitoringSection クラス
BufferModeSettings クラス
HealthMonitoringSection クラス
BufferModeSettings クラス

ProfileSettings コンストラクタ (String, Int32, Int32, TimeSpan)

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

指定した設定使用してProfileSettings クラス新しインスタンス初期化します。

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

Public Sub New ( _
    name As String, _
    minInstances As Integer, _
    maxLimit As Integer, _
    minInterval As TimeSpan _
)
Dim name As String
Dim minInstances As Integer
Dim maxLimit As Integer
Dim minInterval As TimeSpan

Dim instance As New ProfileSettings(name,
 minInstances, maxLimit, minInterval)
public ProfileSettings (
    string name,
    int minInstances,
    int maxLimit,
    TimeSpan minInterval
)
public:
ProfileSettings (
    String^ name, 
    int minInstances, 
    int maxLimit, 
    TimeSpan minInterval
)
public ProfileSettings (
    String name, 
    int minInstances, 
    int maxLimit, 
    TimeSpan minInterval
)
public function ProfileSettings (
    name : String, 
    minInstances : int, 
    maxLimit : int, 
    minInterval : TimeSpan
)

パラメータ

name

作成する ProfileSettings オブジェクトの名前。

minInstances

イベントプロバイダに対して発生するまでのイベント最小出現回数

maxLimit

同じ型のイベント発生できる最大回数

minInterval

同じ型の 2 つイベント発生する間隔最短時間指定する TimeSpan。

解説解説
使用例使用例

ProfileSettings コンストラクタ使用するコード例次に示します。このコード例は、HealthMonitoringSection クラストピック取り上げているコード例一部分です。

' Add a ProfileSettings object to the Profiles collection property.
healthMonitoringSection.Profiles.Add(new ProfileSettings("Critical",
  _
    1, 1024, new TimeSpan(0, 0, 00)))
// Add a ProfileSettings object to the Profiles collection property.
healthMonitoringSection.Profiles.Add(new ProfileSettings("Critical",
 
    1, 1024, new TimeSpan(0, 0, 00)));
プラットフォームプラットフォーム
バージョン情報バージョン情報
参照参照
関連項目
ProfileSettings クラス
ProfileSettings メンバ
System.Web.Configuration 名前空間
HealthMonitoringSection クラス
BufferModeSettings クラス



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

辞書ショートカット

すべての辞書の索引

「ProfileSettings コンストラクタ」の関連用語

ProfileSettings コンストラクタのお隣キーワード
検索ランキング

   

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



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

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

©2025 GRAS Group, Inc.RSS