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 |
Замечания
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