DelegateGetInstanceNameFromService Delegar
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
trueSe o delegado for bem-sucedido; caso contrário, false .