This documentation is archived and is not being maintained.

DereferenceConnectionCallback Delegate

The DereferenceConnectionCallback delegate dereferences a connection that is no longer required. The connection was probably established through a successful call to the QueryForConnectionCallback or NotifyOfNewConnectionCallback delegate.

Namespace:  System.DirectoryServices.Protocols
Assembly:  System.DirectoryServices.Protocols (in System.DirectoryServices.Protocols.dll)

'Declaration
Public Delegate Sub DereferenceConnectionCallback ( _
	primaryConnection As LdapConnection, _
	connectionToDereference As LdapConnection _
)
'Usage
Dim instance As New DereferenceConnectionCallback(AddressOf HandlerMethod)

Parameters

primaryConnection
Type: System.DirectoryServices.Protocols.LdapConnection

An LdapConnection object that specifies the primary connection.

connectionToDereference
Type: System.DirectoryServices.Protocols.LdapConnection

An LdapConnection object that specifies the connection to dereference.

Windows 7, Windows Vista, Windows XP SP2, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP Starter Edition, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003, Windows Server 2000 SP4, Windows Millennium Edition, Windows 98

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

.NET Framework

Supported in: 3.5, 3.0, 2.0
Show: