Delen via


ServiceDefinition Constructor

Creates a ServiceDefinition based on the information supplied.

Namespace:  Microsoft.TeamFoundation.Framework.Client
Assembly:  Microsoft.TeamFoundation.Client (in Microsoft.TeamFoundation.Client.dll)

Syntax

'Declaration
Public Sub New ( _
    serviceType As String, _
    identifier As Guid, _
    displayName As String, _
    relativePath As String, _
    relativeToSetting As RelativeToSetting, _
    description As String, _
    toolType As String _
)
public ServiceDefinition(
    string serviceType,
    Guid identifier,
    string displayName,
    string relativePath,
    RelativeToSetting relativeToSetting,
    string description,
    string toolType
)
public:
ServiceDefinition(
    String^ serviceType, 
    Guid identifier, 
    String^ displayName, 
    String^ relativePath, 
    RelativeToSetting relativeToSetting, 
    String^ description, 
    String^ toolType
)
new : 
        serviceType:string * 
        identifier:Guid * 
        displayName:string * 
        relativePath:string * 
        relativeToSetting:RelativeToSetting * 
        description:string * 
        toolType:string -> ServiceDefinition
public function ServiceDefinition(
    serviceType : String, 
    identifier : Guid, 
    displayName : String, 
    relativePath : String, 
    relativeToSetting : RelativeToSetting, 
    description : String, 
    toolType : String
)

Parameters

  • serviceType
    Type: System.String

    The service type for this ServiceDefinition.

  • identifier
    Type: System.Guid

    The identifier for this ServiceDefinition.

  • displayName
    Type: System.String

    The display name for this ServiceDefinition.

  • relativePath
    Type: System.String

    The relative path for this ServiceDefinition.

  • description
    Type: System.String

    The description for this ServiceDefinition.

  • toolType
    Type: System.String

    The tool type for this ServiceDefinition

.NET Framework Security

See Also

Reference

ServiceDefinition Class

Microsoft.TeamFoundation.Framework.Client Namespace