Gets a collection of key/value pairs that provide additional user-defined information about the exception.

C# | Visual Basic | Visual C++ | F# |
public override IDictionary Data { get; }
Public Overrides ReadOnly Property Data As IDictionary Get
public: virtual property IDictionary^ Data { IDictionary^ get () override; }
abstract Data : IDictionary override Data : IDictionary

Data is object that contains a collection of user-defined key/value pairs. The default is an empty collection.