Share via


DbCommandInterceptionContext<TResult>.UserState Property

Definition

Caution

Not safe when multiple interceptors are in use. Use SetUserState and FindUserState instead.

Gets or sets a value containing arbitrary user-specified state information associated with the operation.

[System.Obsolete("Not safe when multiple interceptors are in use. Use SetUserState and FindUserState instead.")]
public object UserState { get; set; }
member this.UserState : obj with get, set
Public Property UserState As Object

Property Value

Attributes

Applies to