DbConnectionPropertyInterceptionContext<TValue>.WithValue Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Crée un nouveau DbConnectionPropertyInterceptionContext<TValue> qui contient toutes les informations contextuelles de ce contexte d’interception ainsi que la valeur de propriété donnée.
public System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext<TValue> WithValue(TValue value);
override this.WithValue : 'Value -> System.Data.Entity.Infrastructure.Interception.DbConnectionPropertyInterceptionContext<'Value>
Public Function WithValue (value As TValue) As DbConnectionPropertyInterceptionContext(Of TValue)
Paramètres
- value
- TValue
Valeur qui sera affectée à la propriété cible.
Retours
Nouveau contexte d’interception associé à la valeur de propriété donnée.