共用方式為


ClassName Element (ICF)

Specifies the fully qualified class name of the custom delivery protocol.

語法

<Protocols>
    <Protocol>
        ...
        <ClassName>

Element Characteristics

Characteristic Description

Data type

string, between 1 and 512 characters in length.

Default value

None.

Occurrence

Required once per Protocol element.

Updates

Can be modified when updating the instance.

Element Relationships

Relationship Elements

Parent element

Protocol Element (ICF)

備註

Use the Protocols elements only for custom delivery protocols.

The ClassName value is the fully qualified name of the class within the assembly. If the class is in a namespace, make sure to include the namespace with the class name so that Notification Services can locate the class.

For custom delivery protocols based on the IHttpProtocolProvider interface, specify HttpExtension for the class name.

範例

This example shows how to specify that your custom delivery protocol is implemented in the SMSProtocol class and does not have a namespace.

<ClassName>SMSProtocol</ClassName>

This example shows how to specify that your custom delivery protocol is implemented in the SMSProtocol class in the Protocols namespace.

<ClassName>Protocols.SMSProtocol</ClassName>

請參閱

參考

Application Definition File Reference

概念

Instance Configuration File Reference

說明及資訊

取得 SQL Server 2005 協助