Condividi tramite


DbCommandTreeInterceptionContext.SetUserState(String, Object) Metodo

Definizione

Imposta un valore contenente informazioni sullo stato specificate dall'utente arbitrarie associate all'operazione.

public void SetUserState (string key, object value);
member this.SetUserState : string * obj -> unit
Public Sub SetUserState (key As String, value As Object)

Parametri

key
String

Chiave usata per identificare lo stato utente.

value
Object

Stato da impostare.

Si applica a