Share via


ServiceDefinition 類別

繼承階層

System.Object
  Microsoft.VisualStudio.Services.Location.ServiceDefinition

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

語法

'宣告
<DataContractAttribute> _
Public Class ServiceDefinition
[DataContractAttribute]
public class ServiceDefinition

ServiceDefinition 類型會公開下列成員。

建構函式

  名稱 描述
公用方法 ServiceDefinition()
公用方法 ServiceDefinition(String, Guid, String, String, RelativeToSetting, String, String, List<LocationMapping>, Guid)

回頁首

屬性

  名稱 描述
公用屬性 Description
公用屬性 DisplayName
公用屬性 HasModifiedProperties
公用屬性 Identifier
公用屬性 LocationMappings
公用屬性 MaxVersion
公用屬性 MaxVersionString
公用屬性 MinVersion
公用屬性 MinVersionString
公用屬性 ParentIdentifier
公用屬性 ParentServiceType
公用屬性 Properties
公用屬性 RelativePath
公用屬性 RelativeToSetting
公用屬性 RelativeToSettingValue
公用屬性 ReleasedVersion
公用屬性 ReleasedVersionString
公用屬性 ResourceVersion
公用屬性 ServiceOwner
公用屬性 ServiceType
公用屬性 Status
公用屬性 ToolId

回頁首

方法

  名稱 描述
公用方法 AddLocationMapping
公用方法 Clone
公用方法 Equals 判斷指定的物件是否等於目前的物件。 (繼承自 Object)。
受保護的方法 Finalize 在記憶體回收開始前,允許物件嘗試釋放資源,並執行其他清除作業。 (繼承自 Object)。
公用方法 GetHashCode 做為預設雜湊函式。 (繼承自 Object)。
公用方法 GetLocationMapping(String)
公用方法 GetLocationMapping(AccessMapping)
公用方法 GetProperty<T>
公用方法 GetType 取得目前執行個體的 Type。 (繼承自 Object)。
受保護的方法 MemberwiseClone 建立目前 Object 的淺層複製。 (繼承自 Object)。
公用方法 ResetModifiedProperties
公用方法 SetProperty
公用方法 ToString 傳回代表目前物件的字串。 (繼承自 Object)。
公用方法 TryGetProperty

回頁首

執行緒安全

這個類型的任何 Public static (在 Visual Basic 中為 Shared) 成員都是安全執行緒。不保證任何執行個體成員是安全執行緒。

請參閱

參考

Microsoft.VisualStudio.Services.Location 命名空間