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
)
參數
- serviceType
類型:System.String
- identifier
類型:System.Guid
- displayName
類型:System.String
- relativePath
類型:System.String
- relativeToSetting
類型:Microsoft.VisualStudio.Services.Location.RelativeToSetting
- description
類型:System.String
- toolId
類型:System.String
- locationMappings
類型:System.Collections.Generic.List<LocationMapping>
- serviceOwner
類型:System.Guid
.NET Framework 安全性
- 完全信任立即呼叫者。這個成員無法供部分信任的程式碼使用。如需詳細資訊,請參閱從部分受信任程式碼使用程式庫。