net9.0
namespace System.Data.Entity.Infrastructure.Interception
{
    public class DbCommandInterceptionContext<TResult> : DbCommandInterceptionContext
    {
        [Obsolete("Not safe when multiple interceptors are in use. Use SetUserState and FindUserState instead.")]
        public object UserState { get; set; }
    }
}
nuget.org
0.0 %
Reference this API
0.0 %
Get property
0.0 %
Set property
.NET 5.06.07.08.09.0
.NET Core 3.03.1
.NET Framework 4.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1
.NET Standard 2.1
Information specific to net9.0
Assembly

EntityFramework , Version=6.0.0.0, PublicKeyToken=b77a5c561934e089

Referencing

Your project needs a package reference to EntityFramework.

Package EntityFramework (6.5.1) netstandard2.1
Obsolete Not safe when multiple interceptors are in use. Use SetUserState and FindUserState instead.
Platform Restrictions

The property getter is supported on all platforms.

The property setter is supported on all platforms.

  • Built-in API
  • Package-provided API

11/23/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙