ServiceHealthSectionCollection.CreateSection Methode

Definitie

Overloads

Name Description
CreateSection(String)

Hiermee maakt u een servicestatussectie met de opgegeven titel en voegt u deze toe aan de huidige verzameling.

CreateSection(String, String)

Hiermee maakt u een servicestatussectie met de opgegeven titel en achtergrondkleur en voegt u deze toe aan de huidige verzameling.

CreateSection(String, String, String)

Hiermee maakt u een servicestatussectie met de opgegeven titel, achtergrondkleur en voorgrondkleur en voegt u deze toe aan de huidige verzameling.

CreateSection(String)

Hiermee maakt u een servicestatussectie met de opgegeven titel en voegt u deze toe aan de huidige verzameling.

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

Parameters

title
String

De titel van de sectie servicestatus.

Retouren

De sectie Servicestatus.

Uitzonderingen

title is null.

Van toepassing op

CreateSection(String, String)

Hiermee maakt u een servicestatussectie met de opgegeven titel en achtergrondkleur en voegt u deze toe aan de huidige verzameling.

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

Parameters

title
String

De titel van de sectie servicestatus.

backgroundColor
String

Een hexadecimale kleurtekenreeks die de achtergrondkleur van de service definieert.

Retouren

De sectie Servicestatus.

Uitzonderingen

title is null.

– of –

backgroundcolor is null.

Van toepassing op

CreateSection(String, String, String)

Hiermee maakt u een servicestatussectie met de opgegeven titel, achtergrondkleur en voorgrondkleur en voegt u deze toe aan de huidige verzameling.

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

Parameters

title
String

De titel van de sectie servicestatus.

backgroundColor
String

Een hexadecimale kleurtekenreeks die de achtergrondkleur van de sectie definieert.

foregroundColor
String

Een hexadecimale kleurtekenreeks die de voorgrondkleur van de sectie definieert.

Retouren

De sectie Servicestatus.

Uitzonderingen

title is null.

– of –

backgroundcolor is null.

– of –

foregroundcolor is null.

Van toepassing op