TeamFoundationLocationService.ValidateServiceDefinition Method
Checks to make sure all parameters of the service definitions are valid and checks to see if there is an invalid modification with the isUpdate parameter.
Namespace: Microsoft.TeamFoundation.Framework.Server
Assembly: Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)
Syntax
'Declaration
Public Shared Sub ValidateServiceDefinition ( _
definition As ServiceDefinition _
)
public static void ValidateServiceDefinition(
ServiceDefinition definition
)
public:
static void ValidateServiceDefinition(
ServiceDefinition^ definition
)
static member ValidateServiceDefinition :
definition:ServiceDefinition -> unit
public static function ValidateServiceDefinition(
definition : ServiceDefinition
)
Parameters
- definition
Type: Microsoft.VisualStudio.Services.Location.ServiceDefinition
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.