CreateQueryTemplate(T) 메서드 (String, String, CepStream(T))

LINQ 식에서 새 쿼리 템플릿을 만듭니다.

네임스페이스:  Microsoft.ComplexEventProcessing
어셈블리:  Microsoft.ComplexEventProcessing(Microsoft.ComplexEventProcessing.dll)

구문

public QueryTemplate CreateQueryTemplate<T>(
    string queryTemplateName,
    string description,
    CepStream<T> streamDefinition
)

유형 매개 변수

  • T

매개 변수

반환 값

유형: Microsoft.ComplexEventProcessing. . :: . .QueryTemplate
만들고 있는 새 쿼리 템플릿 개체입니다.

var inputstream = CepStream{RawData}.Create("filterInput");
            var filtered = from e in inputstream
                           where e.Value > 30
                           select e;
            QueryTemplate filterQT = application.CreateQueryTemplate("filterLogic", "Description of the query template", filtered);

참고 항목

참조

Application 클래스

CreateQueryTemplate 오버로드

Microsoft.ComplexEventProcessing 네임스페이스