Share via


ServiceHealthSectionCollection.CreateSection Yöntem

Tanım

Aşırı Yüklemeler

CreateSection(String)

Belirtilen başlığa sahip bir hizmet durumu bölümü oluşturur ve geçerli koleksiyona ekler.

CreateSection(String, String)

Belirtilen başlık ve arka plan rengine sahip bir hizmet durumu bölümü oluşturur ve geçerli koleksiyona ekler.

CreateSection(String, String, String)

Belirtilen başlık, arka plan rengi ve ön plan rengine sahip bir hizmet durumu bölümü oluşturur ve bunu geçerli koleksiyona ekler.

CreateSection(String)

Belirtilen başlığa sahip bir hizmet durumu bölümü oluşturur ve geçerli koleksiyona ekler.

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

Parametreler

title
String

Hizmet durumu bölümünün başlığı.

Döndürülenler

Hizmet durumu bölümü.

Özel durumlar

title, null değeridir.

Şunlara uygulanır

CreateSection(String, String)

Belirtilen başlık ve arka plan rengine sahip bir hizmet durumu bölümü oluşturur ve geçerli koleksiyona ekler.

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

Parametreler

title
String

Hizmet durumu bölümünün başlığı.

backgroundColor
String

Hizmetin arka plan rengini tanımlayan onaltılık renk dizesi.

Döndürülenler

Hizmet durumu bölümü.

Özel durumlar

title, null değeridir.

-veya-

backgroundcolor, null değeridir.

Şunlara uygulanır

CreateSection(String, String, String)

Belirtilen başlık, arka plan rengi ve ön plan rengine sahip bir hizmet durumu bölümü oluşturur ve bunu geçerli koleksiyona ekler.

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

Parametreler

title
String

Hizmet durumu bölümünün başlığı.

backgroundColor
String

Bölümün arka plan rengini tanımlayan onaltılık renk dizesi.

foregroundColor
String

Bölümün ön plan rengini tanımlayan onaltılık renk dizesi.

Döndürülenler

Hizmet durumu bölümü.

Özel durumlar

title, null değeridir.

-veya-

backgroundcolor, null değeridir.

-veya-

foregroundcolor, null değeridir.

Şunlara uygulanır