OPC Studio User's Guide and Reference
SharedServiceProvider Property (EasyUASubscriberCore)



OpcLabs.EasyOpcUA Assembly > OpcLabs.EasyOpc.UA.PubSub Namespace > EasyUASubscriberCore Class : SharedServiceProvider Property
Provides services that are shared by all instances of the component.
Syntax
'Declaration
 
<NotNullAttribute()>
Public Shared ReadOnly Property SharedServiceProvider As IServiceProvider
'Usage
 
Dim value As IServiceProvider
 
value = EasyUASubscriberCore.SharedServiceProvider
[NotNull()]
public static IServiceProvider SharedServiceProvider {get;}
[NotNull()]
public:
static property IServiceProvider^ SharedServiceProvider {
   IServiceProvider^ get();
}
Remarks

Use this property to retrieve shared services. Getting the property triggers static activation of the component, if it has not been activated yet.

Requirements

Target Platforms: .NET Framework: Windows 10 (selected versions), Windows 11 (selected versions), Windows Server 2016, Windows Server 2022; .NET: Linux, macOS, Microsoft Windows

See Also