Compartir a través de


IDeliveryProtocol.Initialize Method

Initializes the delivery protocol.

Espacio de nombres: Microsoft.SqlServer.NotificationServices
Ensamblado: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintaxis

'Declaración
Sub Initialize ( _
    channelArgs As StringDictionary, _
    multicast As Boolean, _
    notificationStatusCallback As NotificationStatusCallback _
)
void Initialize (
    StringDictionary channelArgs,
    bool multicast,
    NotificationStatusCallback notificationStatusCallback
)
void Initialize (
    StringDictionary^ channelArgs, 
    bool multicast, 
    NotificationStatusCallback^ notificationStatusCallback
)
void Initialize (
    StringDictionary channelArgs, 
    boolean multicast, 
    NotificationStatusCallback notificationStatusCallback
)
function Initialize (
    channelArgs : StringDictionary, 
    multicast : boolean, 
    notificationStatusCallback : NotificationStatusCallback
)

Parámetros

  • channelArgs
    A StringDictionary object containing the names and values of the initialization arguments for the delivery channel. The names and values are from the instance configuration.
  • multicast
    A Boolean value indicating whether the notification class uses multicast delivery.
  • notificationStatusCallback
    A NotificationStatusCallback delegate that the delivery protocol can use to send notification delivery status information back to the distributor.

Notas

The distributor calls this method to notify the delivery protocol that it must perform initialization. The channelArgs parameter provides the initialization arguments for the delivery protocol. The channelArgs parameter values are collected by the distributor from the delivery channel definition. The protocol should store the value of the nsc parameter for later use to indicate notification status.

Ejemplo

For an example of how to implement the Initialize method, see the IDeliveryProtocol interface topic.

Seguridad para subprocesos

Any public static (Shared in Microsoft Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Plataformas

Plataformas de desarrollo

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Plataformas de destino

Para obtener una lista de las plataformas compatibles, vea Requisitos de hardware y software para instalar SQL Server 2005.

Vea también

Referencia

IDeliveryProtocol Interface
IDeliveryProtocol Members
Microsoft.SqlServer.NotificationServices Namespace