OptionsOverrides.GetProviderClusterOptions(IServiceProvider, String) 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.
Gets ClusterOptions which may have been overridden on a per-provider basis. Note: This is intended for migration purposes as a means to handle previously inconsistent behaviors in how providers used ServiceId and ClusterId.
public static Microsoft.Extensions.Options.IOptions<Orleans.Configuration.ClusterOptions> GetProviderClusterOptions (this IServiceProvider services, string providerName);
static member GetProviderClusterOptions : IServiceProvider * string -> Microsoft.Extensions.Options.IOptions<Orleans.Configuration.ClusterOptions>
<Extension()>
Public Function GetProviderClusterOptions (services As IServiceProvider, providerName As String) As IOptions(Of ClusterOptions)
Parameters
- services
- IServiceProvider
- providerName
- String