Share via


DbInterception.Remove(IDbInterceptor) Method

Definition

Removes a registered IDbInterceptor so that it will no longer receive notifications. If the given interceptor is not registered, then this is a no-op.

public static void Remove (System.Data.Entity.Infrastructure.Interception.IDbInterceptor interceptor);
static member Remove : System.Data.Entity.Infrastructure.Interception.IDbInterceptor -> unit
Public Shared Sub Remove (interceptor As IDbInterceptor)

Parameters

interceptor
IDbInterceptor

The interceptor to remove.

Applies to