ServiceDefinition-Konstruktor (String, Guid, String, String, RelativeToSetting, String, String, List<LocationMapping>, Guid)
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
)
Parameter
- serviceType
Typ: System.String
- identifier
Typ: System.Guid
- displayName
Typ: System.String
- relativePath
Typ: System.String
- relativeToSetting
Typ: Microsoft.VisualStudio.Services.Location.RelativeToSetting
- description
Typ: System.String
- toolId
Typ: System.String
- locationMappings
Typ: System.Collections.Generic.List<LocationMapping>
- serviceOwner
Typ: System.Guid
.NET Framework-Sicherheit
- Volle Vertrauenswürdigkeit für den unmittelbaren Aufrufer. Dieser Member kann von nur teilweise vertrauenswürdigem Code nicht verwendet werden. Weitere Informationen finden Sie unter Verwenden von Bibliotheken aus teilweise vertrauenswürdigem Code.