Lenguaje

ServiceHealthSectionCollection.CreateSection Método

Definición

Sobrecargas

Nombre Description
CreateSection(String)

Crea una sección de estado del servicio con el título especificado y la agrega a la colección actual.

CreateSection(String, String)

Crea una sección de estado del servicio con el título y el color de fondo especificados y lo agrega a la colección actual.

CreateSection(String, String, String)

Crea una sección de estado del servicio con el título, el color de fondo y el color de primer plano especificados y lo agrega a la colección actual.

CreateSection(String)

Crea una sección de estado del servicio con el título especificado y la agrega a la colección actual.

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

Parámetros

title
String

Título de la sección Service Health.

Devoluciones

Sección de estado del servicio.

Excepciones

title es null.

Se aplica a

CreateSection(String, String)

Crea una sección de estado del servicio con el título y el color de fondo especificados y lo agrega a la colección actual.

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

Parámetros

title
String

Título de la sección Service Health.

backgroundColor
String

Cadena de color hexadecimal que define el color de fondo del servicio.

Devoluciones

Sección de estado del servicio.

Excepciones

title es null.

O bien

backgroundcolor es null.

Se aplica a

CreateSection(String, String, String)

Crea una sección de estado del servicio con el título, el color de fondo y el color de primer plano especificados y lo agrega a la colección actual.

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

Parámetros

title
String

Título de la sección Service Health.

backgroundColor
String

Cadena de color hexadecimal que define el color de fondo de la sección.

foregroundColor
String

Cadena de color hexadecimal que define el color de primer plano de la sección.

Devoluciones

Sección de estado del servicio.

Excepciones

title es null.

O bien

backgroundcolor es null.

O bien

foregroundcolor es null.

Se aplica a