Método ILocationService.RemoveServiceDefinitions
Remove o ServiceDefinitions especificado de serviço de rede local.
Namespace: Microsoft.TeamFoundation.Framework.Client
Assembly: Microsoft.TeamFoundation.Client (em Microsoft.TeamFoundation.Client.dll)
Sintaxe
'Declaração
Sub RemoveServiceDefinitions ( _
serviceDefinitions As IEnumerable(Of ServiceDefinition) _
)
void RemoveServiceDefinitions(
IEnumerable<ServiceDefinition> serviceDefinitions
)
Parâmetros
- serviceDefinitions
Tipo: System.Collections.Generic.IEnumerable<ServiceDefinition>
O ServiceDefinitions a remover.Eles devem ser ServiceDefinitions que são registradas já no serviço de rede local.Igualdade é decidida correspondente o tipo de serviço e o identificador.
Exceções
Exceção | Condição |
---|---|
IllegalDeleteSelfReferenceServiceDefinitionException | Lançada se o chamador tentar excluir o auto (- refernce serviço de rede local) ServiceDefinition. |
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.