Gets the list of logging provider to which the logging events will be forwarded. This list will
contain at least one provider.
Namespace:
CuttingEdge.LoggingAssembly: CuttingEdge.Logging (in CuttingEdge.Logging.dll)
Syntax
| Visual Basic (Declaration) |
|---|
Public ReadOnly Property Providers As ReadOnlyCollection(Of LoggingProviderBase) |
| C# |
|---|
public ReadOnlyCollection<LoggingProviderBase> Providers { get; } |
| Visual C++ |
|---|
public: property ReadOnlyCollection<LoggingProviderBase^>^ Providers { ReadOnlyCollection<LoggingProviderBase^>^ get (); } |
| JavaScript |
|---|
function get_providers(); |
Field Value
The read only list of LoggingProviderBase objects.
Exceptions
| Exception | Condition |
|---|---|
| System..::.InvalidOperationException | Thrown when the provider hasn't been initialized properly. |