Microsoft.AI.DependencyCollector ETW EventSource tracing class. Keywords for the . Key word for user actionable events. Key word for resource discovery module failures. Provides methods for listening to events from FrameworkEventSource for HTTP. The Framework EventSource name. BeginGetResponse Event ID. EndGetResponse Event ID. BeginGetRequestStream Event ID. EndGetRequestStream Event ID. The Http processor. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Enables HTTP event source when EventSource is created. Called for all existing event sources when the event listener is created and when a new event source is attached to the listener. Called whenever an event has been written by an event source for which the event listener has enabled events. The event arguments that describe the event. Called when a postfix of a (HttpWebRequest|FileWebRequest|FtpWebRequest).BeginGetResponse method has been invoked. The event arguments that describe the event. Called when a postfix of a (HttpWebRequest|FileWebRequest|FtpWebRequest).EndGetResponse method has been invoked. The event arguments that describe the event. Called when a postfix of a (HttpWebRequest|FileWebRequest|FtpWebRequest).BeginGetRequestStream method has been invoked. The event arguments that describe the event. On begin callback from FX. This object. URI of the web request. On end callback from FX. The id. The success to indicate if the dependency call completed successfully or not. The synchronous flag to indicate if the dependency call was synchronous or not. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Concrete class with all processing logic to generate RDD data from the calls backs received from Profiler instrumentation for HTTP. Initializes a new instance of the class. On begin callback for GetResponse. This object. The context for end callback. On end callback for GetResponse. The context. The return value. This object. The resulting return value. On exception callback for GetResponse callback. The context. The exception object. This object. On begin callback for GetRequestStream callback. This object. The transport context parameter. The context for end callback. On exception for GetRequestStream callback. Note: There is no call back required for GetRequestStream except on exception cases. The context. The exception. This object. The transport context parameter. On begin for BeginGetResponse callback. This object. The callback parameter. The state parameter. The context for end callback. On end for EndGetResponse callbacks. The context. The return value. This object. The asyncResult parameter. The return value passed. On exception for EndGetResponse callbacks. The context. The exception. This object. The asyncResult parameter. On begin for BeginGetRequestStream callback. This object. The callback parameter. The state parameter. The context for end callback. On exception for EndGetRequestStream callback. Note: There is no call back required for EndGetRequestStream except on exception cases. The context. The exception. This object. The asyncResult parameter. The transportContext parameter. Gets HTTP request resource name. Represents web request. The resource name if possible otherwise empty string. Common helper for all Begin Callbacks. This object. Indicates if the method used is async or not. Null object as all context is maintained in this class via weak tables. Common helper for all End Callbacks. The exception object if any. This object. The implementation of cache provider for Windows Phone and Windows Store as MemoryCache is not available there. Type of items to store in the cache. Represents an object cache and provides the base methods and properties for accessing the object cache. Checks whether the cache entry already exists in the cache. A unique identifier for the cache entry. true if the cache contains a cache entry with the same key value as key; otherwise, false. Gets the specified cache entry from the cache. A unique identifier for the cache entry. A reference to the cache entry identified by key if the entry exists; otherwise, null. Inserts a cache entry into the cache. A unique identifier for the cache entry. The object to insert. Removes the cache entry from the cache. A unique identifier for the cache entry. True if the element is successfully found and removed; otherwise, false. This method returns false if key is not found. Reader-Writer Lock for thread safety. Dictionary of cache items for fast Get and Contains operations. Cache items sorted by the time of adding to cache. Required for to clear fast cache items when items are expired. The maximum number of elements in the cache to avoid out of memory crashes. Timer for clearing expired cache items on recurring bases. The duration in milliseconds after which item in the cache is expired. Initializes a new instance of the class. Expiration timeout in milliseconds for an object to live in the cache. Maximum number of entries to cache (adjustable at runtime with MaxSize property). True to use a reader-writer lock to protect the data in the MemoryCacheList; false if the caller will handle synchronization. Checks whether the cache entry already exists in the cache. A unique identifier for the cache entry. true if the cache contains a cache entry with the same key value as key; otherwise, false. Gets the specified cache entry from the cache. A unique identifier for the cache entry. A reference to the cache entry identified by key if the entry exists; otherwise, null. Inserts a cache entry into the cache. A unique identifier for the cache entry. The object to insert. Removes a specific key from the cache. Key to remove. An object that represents the value of the removed cache entry that was specified by the key, or null if the specified entry was not found. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. The timer callback that clears expired items in the cache. An object containing information to be used by the callback method, or null. Adds the specified key and value to the dictionary. Key to add. Value to associate with key. If true, will overwrite an existing key. An entry in the MemoryCacheList. Initializes a new instance of the class. The key of the element. The value of the element. Gets the key of the element. Gets or sets the value of the element. Gets number of ticks elapsed on the clock since the element was created. Exposes a method that compares two MemoryCacheEntry objects. Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other. The first object to compare. The second object to compare. A signed integer that indicates the relative values of x and y, as shown in the following table. Single high precision clock used by operations. High precision stopwatch. Number of 100 nanoseconds per high-precision clock tick. The time clock started. Calculates time between two clock readings. Start time in ticks. End time in ticks. Time between two clock readings. Converts time on the operation clock (in ticks) to date and time structure. Ticks elapsed according to operation watch. Date time structure representing the date and time that corresponds to the operation clock reading. Gets number of ticks elapsed on the clock since the start. Represents a collection of sorted elements that are accessible by index. The type of element. Represents a collection of objects that can be individually accessed by index. Exposes a method that compares two objects. Initializes a new instance of the SortedList class that is empty. The IComparer implementation to use when comparing elements. Returns an enumerator that iterates through a collection. An IEnumerator object that can be used to iterate through the collection. Returns an enumerator that iterates through a collection. An IEnumerator object that can be used to iterate through the collection. Adds an element with the specified value to a SortedList object. Item to add. Removes the element at the specified index of a SortedList object. The zero-based index of the element to remove. Removes the element with the specified value from a SortedList object. Item to remove. Determines the index of a specific item in the IList. The object to locate in the IList. True if value is found in the list, otherwise false. The index of value if found in the list; otherwise, the index of value where it needs to be inserted. Gets the number of elements contained in a SortedList object. Gets the element at a specified index in a sequence. The zero-based index of the element to get. The element at the specified position in the source sequence. Determines whether an URL is application insights URL. HTTP URL. True if URL is application insights url, otherwise false. Provides methods for listening to events from FrameworkEventSource for SQL. The Framework EventSource name for SQL. BeginExecute Event ID. EndExecute Event ID. The SQL processor. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Enables SQL event source when EventSource is created. Called for all existing event sources when the event listener is created and when a new event source is attached to the listener. Called whenever an event has been written by an event source for which the event listener has enabled events. The event arguments that describe the event. Called when a postfix of a SQLCommand begin methods have been invoked. The event arguments that describe the event. Called when a postfix of a postfix of a SQLCommand end methods have been invoked. The event arguments that describe the event. Initializes a new instance of the class. On begin callback from FX. Identifier of SQL connection object. Data source name. Database name. Command text. On end callback from FX. Identifier of SQL connection object. Indicate whether operation completed successfully. Indicates whether operation was called synchronously or asynchronously. Gets SQL command resource name. DataSource name. Database name. CommandText name. The resource name if possible otherwise empty string. Concrete class with all processing logic to generate RDD data from the calls backs received from Profiler instrumentation for SQL. Initializes a new instance of the class. On begin callback for ExecuteReader. This object. The callback parameter. The state parameter. The context for end callback. On begin callback for sync methods except ExecuteReader. This object. The context for end callback. On end callback for ExecuteReader. The context. The return value. This object. The callback parameter. The state parameter. The resulting return value. On end for sync methods except ExecuteReader callback. The context. The return value. This object. The resulting return value. On exception callback for ExecuteReader. The context. The exception. This object. The callback parameter. The state parameter. On end callback for sync methods except ExecuteReader. The context. The exception. This object. On begin for BeginExecuteNonQueryInternal callback. This object. The callback parameter. The stateObject parameter. The timeout parameter. The asyncWrite parameter. The context for end callback. On begin for BeginExecuteReaderInternal callback. This object. The behavior parameter. The callback parameter. The stateObject parameter. The timeout parameter. The asyncWrite parameter. The context for end callback. On begin for BeginExecuteXmlReaderInternal callback. This object. The callback parameter. The stateObject parameter. The timeout parameter. The asyncWrite parameter. The context for end callback. On end for all SQL async callbacks. The context. The return value. This object. The asyncResult parameter. The context for end callback. On exception for all SQL async callback. The context. The exception. This object. The asyncResult parameter. Gets SQL command resource name. The SQL command. Before we have clarity with SQL team around EventSource instrumentation, providing name as a concatenation of parameters. The resource name if possible otherwise empty string. Return CommandTest for SQL resource. The SQL command. Returns the command text or empty. Common helper for all Begin Callbacks. This object. Is Async Invocation. The context for end callback. Common helper for all End Callbacks. The context. The exception object if any. This object. Whether the End is for an async invocation. Remote dependency monitoring. Initializes a new instance of the class. Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources. Initialize method is called after all configuration properties have been loaded from the configuration. Initialize for framework event source (not supported for Net40). Initialize for runtime instrumentation or framework event source. Gets or sets sampling ratio. This property is obsolete and will not have any effect of data collection. Gets or sets a value indicating whether to disable runtime instrumentation. Gets or sets a value indicating whether pretending the profiler is attached or not.