Share via


ServiceDefinitionExtensions Class

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Services.Location.ServiceDefinitionExtensions

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

Syntax

'Declaration
<ExtensionAttribute> _
Public NotInheritable Class ServiceDefinitionExtensions
public static class ServiceDefinitionExtensions
[ExtensionAttribute]
public ref class ServiceDefinitionExtensions abstract sealed
[<AbstractClass>]
[<Sealed>]
type ServiceDefinitionExtensions =  class end
public final class ServiceDefinitionExtensions

The ServiceDefinitionExtensions type exposes the following members.

Methods

  Name Description
Public methodStatic member GetLocationMapping Returns the LocationMapping for the AccessMapping provided or null if this ServiceDefinition does not have a LocationMapping for the provided AccessMapping. This function will always return null if it is called on a non-relative ServiceDefinition.

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