Condividi tramite


IHttpProtocolProvider.Close Method

Closes the delivery protocol.

Spazio dei nomi: Microsoft.SqlServer.NotificationServices
Assembly : Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Sintassi

'Dichiarazione
Sub Close
void Close ()
void Close ()
void Close ()
function Close ()

Osservazioni

The distributor calls the Close method to shut down the delivery protocol. When you implement this method, you should release all resources. If the delivery protocol implements asynchronous delivery, and there are outstanding requests at the time Close is called, complete or abandon those requests.

Esempio

For an example of how to implement the Close method, see the IHttpProtocolProvider topic.

Thread Safety

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.

Piattaforme

Piattaforme di sviluppo

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Piattaforme di destinazione

Per un elenco delle piattaforme supportate, vedere Requisiti hardware e software per l'Installazione di SQL Server 2005.

Vedere anche

Riferimento

IHttpProtocolProvider Interface
IHttpProtocolProvider Members
Microsoft.SqlServer.NotificationServices Namespace