Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace:  Microsoft.VisualStudio.Services.Location
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)
Syntax
'Declaration
Public Sub New ( _
    serviceType As String, _
    identifier As Guid, _
    displayName As String, _
    relativePath As String, _
    relativeToSetting As RelativeToSetting, _
    description As String, _
    toolId As String, _
    locationMappings As List(Of LocationMapping), _
    serviceOwner As Guid _
)
public ServiceDefinition(
    string serviceType,
    Guid identifier,
    string displayName,
    string relativePath,
    RelativeToSetting relativeToSetting,
    string description,
    string toolId,
    List<LocationMapping> locationMappings,
    Guid serviceOwner
)
public:
ServiceDefinition(
    String^ serviceType, 
    Guid identifier, 
    String^ displayName, 
    String^ relativePath, 
    RelativeToSetting relativeToSetting, 
    String^ description, 
    String^ toolId, 
    List<LocationMapping^>^ locationMappings, 
    Guid serviceOwner
)
new : 
        serviceType:string * 
        identifier:Guid * 
        displayName:string * 
        relativePath:string * 
        relativeToSetting:RelativeToSetting * 
        description:string * 
        toolId:string * 
        locationMappings:List<LocationMapping> * 
        serviceOwner:Guid -> ServiceDefinition
public function ServiceDefinition(
    serviceType : String, 
    identifier : Guid, 
    displayName : String, 
    relativePath : String, 
    relativeToSetting : RelativeToSetting, 
    description : String, 
    toolId : String, 
    locationMappings : List<LocationMapping>, 
    serviceOwner : Guid
)
Parameters
- serviceType
 Type: System.String
- identifier
 Type: System.Guid
- displayName
 Type: System.String
- relativePath
 Type: System.String
- relativeToSetting
 Type: Microsoft.VisualStudio.Services.Location.RelativeToSetting
- description
 Type: System.String
- toolId
 Type: System.String
- locationMappings
 Type: System.Collections.Generic.List<LocationMapping>
- serviceOwner
 Type: System.Guid
.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.