ProvideBrokeredServiceAttribute.GetRegistryRoot(String, Version) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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.