DelegateGetInstanceNameFromService Delegar

Definição

Obtém um valor se o delegado é bem-sucedido ao obter o nome da instância do serviço.

public delegate bool DelegateGetInstanceNameFromService(System::String ^ sServiceName, StringBuilder ^ sInstanceName, [Runtime::InteropServices::Out] System::UInt32 % pdwSize);
public delegate bool DelegateGetInstanceNameFromService(string sServiceName, StringBuilder sInstanceName, out uint pdwSize);
type DelegateGetInstanceNameFromService = delegate of string * StringBuilder * uint32 -> bool
Public Delegate Function DelegateGetInstanceNameFromService(sServiceName As String, sInstanceName As StringBuilder, ByRef pdwSize As UInteger) As Boolean 

Parâmetros

sServiceName
String

O nome do serviço.

sInstanceName
StringBuilder

O nome de instância.

pdwSize
UInt32

O tamanho estimado da estrutura retornada, em bytes.

Valor Retornado

Boolean

trueSe o delegado for bem-sucedido; caso contrário, false .

Aplica-se a