The QueryProfiler type exposes the following members.
 Methods
Methods
| Name | Description | |
|---|---|---|
|  | AddCustomProfilerData(String) | 
            Adds custom context information to the next query executed by the currently profiled DataContext.
             | 
|  | AddCustomProfilerData(String, Boolean) | 
            Adds custom context information for all subsequent queries executed by the currently profiled DataContext.
             | 
|  | Dispose | 
            Releases all resources used by the QueryProfiler.
             | 
|  | Equals | (Inherited from Object.) | 
|  | Finalize | 
            Destructor for the QueryProfiler class.
            (Overrides Object..::..Finalize()()()().) | 
|  | GetHashCode | 
                    Serves as a hash function for a particular type. 
                (Inherited from Object.) | 
|  | GetType | 
                    Gets the Type of the current instance.
                (Inherited from Object.) | 
|  | MemberwiseClone | 
                    Creates a shallow copy of the current Object.
                (Inherited from Object.) | 
|  | ToString | (Inherited from Object.) | 
 Extension Methods
Extension Methods
| Name | Description | |
|---|---|---|
|  | EndProfiling | 
            Ends profiling for the specified QueryProfiler instance
            (Defined by ProfilingExtensions.) | 
 Properties
Properties
| Name | Description | |
|---|---|---|
|  | ProfilerSessionCustomData | 
            Set/Get custom profiler context information for the current profiling session.
             | 
 Events
Events
| Name | Description | |
|---|---|---|
|  | AfterSerializing | 
            The AfterSerializing event is fired after a profiler log entry is serialized (or queued for serialization in case of asynchronous log writes).
             | 
|  | BeforeSerializing | 
            The BeforeSerializing event is fired before a QueryInformation object (L2S Profiler log entry) is about to be serialized.
             | 
|  | FilteredOut | 
            The FilteredOut event is fired if a profiler log entry is excluded from the log by a filter.
             | 
|  | LogError | 
            The LogError event is raised if the profiler fails to write to the log. Sender is the profiler entry that couldn't be written, event arguments contain a LogErrorEventArgs instance with details on what caused the failure.
             | 





