DelegateGetInstanceNameFromService Делегат

Определение

Получает значение того, удалось ли делегату получить имя экземпляра из сервиса.

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 

Параметры

sServiceName
String

Имя службы.

sInstanceName
StringBuilder

Имя экземпляра.

pdwSize
UInt32

Оценочный размер возвращаемой структуры был в байтах.

Возвращаемое значение

trueесли делегат окажется успешным; в противном случае . false

Применяется к