NativeMethods.ChangeServiceConfig - метод
Этот тип содержит атрибут SecurityCriticalAttribute, который разрешает только его внутреннее использование библиотекой классов .NET Framework для Silverlight. Код приложения, в котором используется любой член этого типа, создает исключение MethodAccessException.
Пространство имен: Microsoft.TeamFoundation.Common.Internal
Сборка: Microsoft.TeamFoundation.Common (в Microsoft.TeamFoundation.Common.dll)
Синтаксис
'Декларация
Public Shared Function ChangeServiceConfig ( _
serviceHandle As ServiceHandle, _
type As UInteger, _
startType As UInteger, _
errorControl As UInteger, _
binaryPathName As String, _
loadOrderGroup As String, _
tagId As String, _
dependencies As String, _
accountName As String, _
password As String, _
displayName As String _
) As Integer
public static int ChangeServiceConfig(
ServiceHandle serviceHandle,
uint type,
uint startType,
uint errorControl,
string binaryPathName,
string loadOrderGroup,
string tagId,
string dependencies,
string accountName,
string password,
string displayName
)
Параметры
- serviceHandle
Тип: Microsoft.TeamFoundation.Common.Internal.ServiceHandle
- type
Тип: System.UInt32
- startType
Тип: System.UInt32
- errorControl
Тип: System.UInt32
- binaryPathName
Тип: System.String
- loadOrderGroup
Тип: System.String
- tagId
Тип: System.String
- dependencies
Тип: System.String
- accountName
Тип: System.String
- password
Тип: System.String
- displayName
Тип: System.String
Возвращаемое значение
Тип: System.Int32
См. также
Ссылки
Microsoft.TeamFoundation.Common.Internal - пространство имен