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