<PackageReference Include="System.Data.SqlClient" Version="4.8.4" />

SqlInfoMessageEventArgs

public sealed class SqlInfoMessageEventArgs : EventArgs
Provides data for the InfoMessage event.
namespace System.Data.SqlClient { public sealed class SqlInfoMessageEventArgs : EventArgs { public SqlErrorCollection Errors { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } public string Message { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } public string Source { get { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } internal SqlInfoMessageEventArgs() { } public override string ToString() { throw new PlatformNotSupportedException(System.SR.PlatformNotSupported_DataSqlClient); } } }