11 references to MessageSensitivity
Microsoft.ML.CpuMath (11)
src\Microsoft.ML.Core\Utilities\Contracts.cs (11)
124
public static TException MarkSensitive<TException>(this TException ex,
MessageSensitivity
sensitivity)
128
MessageSensitivity
innerSensitivity;
130
innerSensitivity =
MessageSensitivity
.None;
132
innerSensitivity = (ex.Data[SensitivityKey] as
MessageSensitivity
?) ??
MessageSensitivity
.None;
145
/// a <see cref="
MessageSensitivity
"/> value. If neither of these conditions
146
/// hold then <see cref="
MessageSensitivity
.Unknown"/> is returned.</returns>
147
public static
MessageSensitivity
Sensitivity(this Exception ex)
151
return
MessageSensitivity
.Unknown;
152
return (ex.Data[SensitivityKey] as
MessageSensitivity
?) ??
MessageSensitivity
.Unknown;