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です。

適用対象