ProvideBrokeredServiceAttribute.GetRegistryRoot(String, Version) Method

Definition

Returns the VS-hive relative path to the key under which a brokered service is registered.

public static string GetRegistryRoot (string name, Version? version = default);
static member GetRegistryRoot : string * Version -> string
Public Shared Function GetRegistryRoot (name As String, Optional version As Version = Nothing) As String

Parameters

name
String

The name of the service from the Name.

version
Version

The version of the service from the Version. This is optional, and produces a unique registry path if specified.

Returns

The registry key path.

Applies to