ServiceHealthSectionCollection.CreateSection Método

Definição

Sobrecargas

Nome Description
CreateSection(String)

Cria uma seção de integridade do serviço com o título especificado e o adiciona à coleção atual.

CreateSection(String, String)

Cria uma seção de integridade do serviço com o título e a cor da tela de fundo especificadas e a adiciona à coleção atual.

CreateSection(String, String, String)

Cria uma seção de integridade do serviço com o título, a cor da tela de fundo e a cor do primeiro plano especificados e a adiciona à coleção atual.

CreateSection(String)

Cria uma seção de integridade do serviço com o título especificado e o adiciona à coleção atual.

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

O título da seção integridade do serviço.

Retornos

A seção de integridade do serviço.

Exceções

title é null.

Aplica-se a

CreateSection(String, String)

Cria uma seção de integridade do serviço com o título e a cor da tela de fundo especificadas e a adiciona à coleção atual.

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

O título da seção integridade do serviço.

backgroundColor
String

Uma cadeia de caracteres de cor hexadecimal que define a cor da tela de fundo do serviço.

Retornos

A seção de integridade do serviço.

Exceções

title é null.

- ou -

backgroundcolor é null.

Aplica-se a

CreateSection(String, String, String)

Cria uma seção de integridade do serviço com o título, a cor da tela de fundo e a cor do primeiro plano especificados e a adiciona à coleção atual.

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

O título da seção integridade do serviço.

backgroundColor
String

Uma cadeia de caracteres de cor hexadecimal que define a cor da tela de fundo da seção.

foregroundColor
String

Uma cadeia de caracteres de cor hexadecimal que define a cor do primeiro plano da seção.

Retornos

A seção de integridade do serviço.

Exceções

title é null.

- ou -

backgroundcolor é null.

- ou -

foregroundcolor é null.

Aplica-se a