NullDictionaryEnumerator Entry Property Apache log4net™ SDK Documentation
Gets the current entry from the enumerator.

Namespace: log4net.Util
Assembly: log4net (in log4net.dll) Version: 1.2.15.0 (1.2.15.0)
Syntax

public DictionaryEntry Entry { get; }

Property Value

Type: OnlineDictionaryEntry

Implements

OnlineIDictionaryEnumerator Entry
Exceptions

ExceptionCondition
OnlineSystem InvalidOperationExceptionThe collection is empty and Current cannot be positioned over a valid location.
Remarks

Throws an OnlineInvalidOperationException because the NullDictionaryEnumerator never has a current entry.
Remarks

As the enumerator is over an empty collection its Current value cannot be moved over a valid position, therefore Entry will throw an OnlineInvalidOperationException.

See Also