Oharra
Baimena behar duzu orria atzitzeko. Direktorioetan saioa has dezakezu edo haiek alda ditzakezu.
Baimena behar duzu orria atzitzeko. Direktorioak alda ditzakezu.
Contains definitions of all custom delivery protocols used by the instance's applications.
Sintaxis
<NotificationServicesInstance>
...
<Protocols>
Element Characteristics
| Characteristic | Description |
|---|---|
Data type |
None. |
Default value |
None. |
Occurrence |
Optional once per NotificationServicesInstance element. |
Updates |
Can be added or deleted when updating the instance. |
Element Relationships
| Relationship | Elements |
|---|---|
Parent element |
|
Child elements |
Notas
Include the Protocols element only if the application(s) hosted by the instance use custom delivery protocols. If using only the built-in SMTP and File delivery protocols omit the entire section or use empty tags.
For more information about defining custom protocols, see Protocol Element (ICF).
Ejemplo
This example shows a complete Protocols element that contains the definition of one custom protocol.
<Protocols>
<Protocol>
<ProtocolName>SMS</ProtocolName>
<ClassName>Protocols.SMSProtocol</ClassName>
<AssemblyName>%BaseDirPath%\SMS.dll</AssemblyName>
</Protocol>
</Protocols>
This example shows how to define a delivery protocol based on the IHttpProtocolProvider interface. The class is implemented in the Notification Services assembly, so you do not need to provide the assembly information.
<Protocol>
<ProtocolName>HTTP</ProtocolName>
<ClassName>HttpExtension</ClassName>
</Protocol>
Vea también
Referencia
Application Definition File Reference
Conceptos
Instance Configuration File Reference
Otros recursos
Desarrollar un protocolo de entrega personalizado