Grain.ServiceProvider Property
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 the IServiceProvider managed by the runtime. Null if this grain is not associated with a Runtime, such as when created directly for unit testing.
protected IServiceProvider ServiceProvider { get; }
protected internal IServiceProvider ServiceProvider { get; }
member this.ServiceProvider : IServiceProvider
Protected ReadOnly Property ServiceProvider As IServiceProvider
Protected Friend ReadOnly Property ServiceProvider As IServiceProvider