Partilhar via


IDeliveryProtocol.Close Method

Closes the delivery protocol.

Namespace: Microsoft.SqlServer.NotificationServices
Assembly: Microsoft.SqlServer.NotificationServices (in microsoft.sqlserver.notificationservices.dll)

Syntax

'Declaration
Sub Close
void Close ()
void Close ()
void Close ()
function Close ()

Remarks

The distributor calls this method to cause the delivery protocol to shut down. You should release any resources held by the delivery protocol when you implement this method.

If the delivery protocol implements asynchronous delivery and there are outstanding requests at the time Close is called, these requests must be either completed or aborted before Close returns.

Example

For an example of how to implement the Close method, see the IDeliveryProtocol interface 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.

Platforms

Development Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

Target Platforms

For a list of the supported platforms, see Hardware and Software Requirements for Installing SQL Server 2005.

See Also

Reference

IDeliveryProtocol Interface
IDeliveryProtocol Members
Microsoft.SqlServer.NotificationServices Namespace