共用方式為


ServiceDefinition Class

Inheritance Hierarchy

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

Namespace:  Microsoft.VisualStudio.Services.Location
Assembly:  Microsoft.VisualStudio.Services.WebApi (in Microsoft.VisualStudio.Services.WebApi.dll)

Syntax

'Declaration
<DataContractAttribute> _
Public Class ServiceDefinition
[DataContractAttribute]
public class ServiceDefinition
[DataContractAttribute]
public ref class ServiceDefinition
[<DataContractAttribute>]
type ServiceDefinition =  class end
public class ServiceDefinition

The ServiceDefinition type exposes the following members.

Constructors

  Name Description
Public method ServiceDefinition()
Public method ServiceDefinition(String, Guid, String, String, RelativeToSetting, String, String, List<LocationMapping>, Guid)

Top

Properties

  Name Description
Public property Description
Public property DisplayName
Public property Identifier
Public property LocationMappings
Public property RelativePath
Public property RelativeToSetting
Public property RelativeToSettingValue
Public property ServiceOwner
Public property ServiceType
Public property ToolId

Top

Methods

  Name Description
Public method AddLocationMapping
Public method Clone
Public method Equals Determines whether the specified object is equal to the current object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as the default hash function. (Inherited from Object.)
Public method GetLocationMapping
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Services.Location Namespace