Compartir a través de


ServiceHealthSectionCollection.CreateSection Método

Definición

Sobrecargas

CreateSection(String)

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

CreateSection(String, String)

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

CreateSection(String, String, String)

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

CreateSection(String)

Crea una sección de mantenimiento de 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 de mantenimiento del servicio.

Devoluciones

ServiceHealthSection

Sección de mantenimiento del servicio.

Excepciones

title es null.

Se aplica a

CreateSection(String, String)

Crea una sección de mantenimiento de servicio con el título especificado y la 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 de mantenimiento del servicio.

backgroundColor
String

Una cadena hexadecimal que define el color de fondo del servicio.

Devoluciones

ServiceHealthSection

Sección de mantenimiento del servicio.

Excepciones

title es null.

O bien

backgroundcolor es null.

Se aplica a

CreateSection(String, String, String)

Crea una sección de mantenimiento de servicio con el título especificado, el color de fondo y el color de primer plano, y la 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 de mantenimiento del servicio.

backgroundColor
String

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

foregroundColor
String

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

Devoluciones

ServiceHealthSection

Sección de mantenimiento del servicio.

Excepciones

title es null.

O bien

backgroundcolor es null.

O bien

foregroundcolor es null.

Se aplica a