ServiceHealthSectionCollection.CreateSection メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
オーバーロード
| 名前 | 説明 |
|---|---|
| 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
サービス正常性セクションのタイトル。
返品
サービス正常性セクション。
例外
title は nullです。
適用対象
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 進数の色の文字列。
返品
サービス正常性セクション。
例外
適用対象
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 進数の色の文字列。
返品
サービス正常性セクション。