다음을 통해 공유


ContentFormatter Element (ADF)

Specifies the content formatter used by the associated notification class.

구문

<NotificationClasses>
    <NotificationClass>
        ...
        <ContentFormatter>

Element Characteristics

Characteristic Description

Data type

None.

Default value

None.

Occurrence

Required once per NotificationClass element.

Updates

Cannot be added or deleted.

Element Relationships

Relationship Elements

Parent element

NotificationClass Element (ADF)

Child elements

ClassName Element for ContentFormatter (ADF)

AssemblyName Element for ContentFormatter (ADF)

Arguments Element for ContentFormatter (ADF)

주의

Each notification class has one content formatter. The content formatter can perform different formatting based on notification field values.

The built-in XSLT content formatter can use different XSLT files based on the notification's subscriber device and locale. For more information about the standard XSLT content formatter, see XSLT 콘텐츠 포맷터.

The following example shows ContentFormatter elements. The Stock.StockFormatter class provides the content formatting functionality, and is implemented in the StockFormat.dll assembly. The content formatter takes a single argument that tells it to display the content in HTML format.

<ContentFormatter>
    <ClassName>Stock.StockFormatter</ClassName>
    <AssemblyName>C:\CustomCFs\StockFormat.dll<AssemblyName>
    <Arguments>
        <Argument>
            <Name>OutputHTML</Name>
            <Value>true</Value>
        </Argument>
    </Arguments>
</ContentFormatter>

참고 항목

참조

Application Definition File Reference

관련 자료

콘텐츠 포맷터 구성
인스턴스 및 응용 프로그램 업데이트

도움말 및 정보

SQL Server 2005 지원 받기