ServiceHealthSectionCollection.CreateSection Método
Definição
Sobrecargas
| CreateSection(String) |
Cria uma seção de integridade do serviço com o título especificado e a adiciona à coleção atual.Creates a service health section with the specified title and adds it to the current collection. |
| CreateSection(String, String) |
Cria uma seção de integridade do serviço com o título e a cor da tela de fundo especificados e o adiciona à coleção atual.Creates a service health section with the specified title and background color, and adds it to the current collection. |
| CreateSection(String, String, String) |
Cria uma seção de integridade do serviço com o título, cor da tela de fundo e cor de primeiro plano especificados e o adiciona à coleção atual.Creates a service health section with the specified title, background color, and foreground color, and adds it to the current collection. |
CreateSection(String)
Cria uma seção de integridade do serviço com o título especificado e a adiciona à coleção atual.Creates a service health section with the specified title and adds it to the current collection.
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 de integridade do serviço.The title of the service health section.
Retornos
A seção de integridade do serviço.The service health section.
Exceções
title é null.title is 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 especificados e o adiciona à coleção atual.Creates a service health section with the specified title and background color, and adds it to the current collection.
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 de integridade do serviço.The title of the service health section.
- backgroundColor
- String
Uma cadeia de caracteres de cor hexadecimal que define a cor da tela de fundo do serviço.A hexadecimal color string that defines the background color of the service.
Retornos
A seção de integridade do serviço.The service health section.
Exceções
title é null.title is null.
- ou --or-
backgroundcolor é null.backgroundcolor is null.
Aplica-se a
CreateSection(String, String, String)
Cria uma seção de integridade do serviço com o título, cor da tela de fundo e cor de primeiro plano especificados e o adiciona à coleção atual.Creates a service health section with the specified title, background color, and foreground color, and adds it to the current collection.
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 de integridade do serviço.The title of the service health section.
- backgroundColor
- String
Uma cadeia de caracteres de cor hexadecimal que define a cor da tela de fundo da seção.A hexadecimal color string that defines the background color of the section.
- foregroundColor
- String
Uma cadeia de caracteres de cor hexadecimal que define a cor de primeiro plano da seção.A hexadecimal color string that defines the foreground color of the section.
Retornos
A seção de integridade do serviço.The service health section.
Exceções
title é null.title is null.
- ou --or-
backgroundcolor é null.backgroundcolor is null.
- ou --or-
foregroundcolor é null.foregroundcolor is null.