共用方式為


ServiceDefinition 建構函式 (String, Guid, String, String, RelativeToSetting, String, String, List<LocationMapping>, Guid)

命名空間:  Microsoft.VisualStudio.Services.Location
組件:  Microsoft.VisualStudio.Services.WebApi (在 Microsoft.VisualStudio.Services.WebApi.dll 中)

語法

'宣告
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
)

參數

.NET Framework 安全性

請參閱

參考

ServiceDefinition 類別

ServiceDefinition 多載

Microsoft.VisualStudio.Services.Location 命名空間