ICepEnumerable<T>.GetEnumerator Method (String, String)
Extends the IEnumerable<T> interface to let you specify a query name and description for an enumerable event source.
Namespace: Microsoft.ComplexEventProcessing.Linq
Assembly: Microsoft.ComplexEventProcessing (in Microsoft.ComplexEventProcessing.dll)
Syntax
IEnumerator<T> GetEnumerator(
string queryName,
string queryDescription
)
Parameters
- queryName
Type: System.String
Name of the query.
- queryDescription
Type: System.String
Optional description of the query.
Return Value
Type: System.Collections.Generic.IEnumerator<T>
Returns IEnumerator<T>.
Remarks
A query name can be used to find the appropriate query instance in the StreamInsight Event Flow Debugger when debugging. If you provide a null value for queryName, or if you call the GetEnumerator method of the base interface, then a unique name for the query is automatically generated.
The contract described by this interface is otherwise identical to the base IEnumerable<T> interface. For more information about the interface that ICepEnumerable<T> extends, see the documentation for the IEnumerable<T> interface in the MSDN Library.