ServiceHealthSectionCollection.CreateSection メソッド

定義

オーバーロード

CreateSection(String)

サービスの正常性セクションを指定されたタイトルで作成し、それを現在のコレクションに追加します。

CreateSection(String, String)

サービスの正常性セクションを指定されたタイトルと背景色で作成し、それを現在のコレクションに追加します。

CreateSection(String, String, String)

サービスの正常性セクションを指定されたタイトル、背景色、前景色で作成し、それを現在のコレクションに追加します。

CreateSection(String)

サービスの正常性セクションを指定されたタイトルで作成し、それを現在のコレクションに追加します。

public:
 System::ServiceModel::Description::ServiceHealthSection ^ CreateSection(System::String ^ title);
public System.ServiceModel.Description.ServiceHealthSection CreateSection (string title);
member this.CreateSection : string -> System.ServiceModel.Description.ServiceHealthSection
Public Function CreateSection (title As String) As ServiceHealthSection

パラメーター

title
String

サービスの正常性セクションのタイトル。

戻り値

サービスの正常性セクション。

例外

titlenullです。

適用対象

CreateSection(String, String)

サービスの正常性セクションを指定されたタイトルと背景色で作成し、それを現在のコレクションに追加します。

public:
 System::ServiceModel::Description::ServiceHealthSection ^ CreateSection(System::String ^ title, System::String ^ backgroundColor);
public System.ServiceModel.Description.ServiceHealthSection CreateSection (string title, string backgroundColor);
member this.CreateSection : string * string -> System.ServiceModel.Description.ServiceHealthSection
Public Function CreateSection (title As String, backgroundColor As String) As ServiceHealthSection

パラメーター

title
String

サービスの正常性セクションのタイトル。

backgroundColor
String

サービスの背景色を定義する 16 進数の色の文字列。

戻り値

サービスの正常性セクション。

例外

titlenullです。

または

backgroundcolornullです。

適用対象

CreateSection(String, String, String)

サービスの正常性セクションを指定されたタイトル、背景色、前景色で作成し、それを現在のコレクションに追加します。

public:
 System::ServiceModel::Description::ServiceHealthSection ^ CreateSection(System::String ^ title, System::String ^ backgroundColor, System::String ^ foregroundColor);
public System.ServiceModel.Description.ServiceHealthSection CreateSection (string title, string backgroundColor, string foregroundColor);
member this.CreateSection : string * string * string -> System.ServiceModel.Description.ServiceHealthSection
Public Function CreateSection (title As String, backgroundColor As String, foregroundColor As String) As ServiceHealthSection

パラメーター

title
String

サービスの正常性セクションのタイトル。

backgroundColor
String

セクションの背景色を定義する 16 進数の色の文字列。

foregroundColor
String

セクションの前景色を定義する 16 進数の色の文字列。

戻り値

サービスの正常性セクション。

例外

titlenullです。

または

backgroundcolornullです。

または

foregroundcolornullです。

適用対象