C# Class PSearchCallback, csharp-ldap

This class gives a sample implementation for using PSearchEventSource to get Ldap events.
Datei anzeigen Open project: EventStore/csharp-ldap Class Usage Examples

Public Methods

Method Description
Main ( string args ) : void
MyDirectoryEventHandler ( object source, DirectoryEventArgs objEventArgs ) : void
MyDirectoryExceptionEventHandler ( object source, DirectoryExceptionEventArgs objEventArgs ) : void
MySearchReferralEventHandler ( object source, SearchReferralEventArgs objEventArgs ) : void
MySearchResultEventHandler ( object source, SearchResultEventArgs objEventArgs ) : void
MySearchResultEventHandler02 ( object source, SearchResultEventArgs objEventArgs ) : void

Protected Methods

Method Description
Execute ( string ldapHost, string ldapPort, string loginDN, string password, string searchBase ) : void

Method Details

Execute() protected method

protected Execute ( string ldapHost, string ldapPort, string loginDN, string password, string searchBase ) : void
ldapHost string
ldapPort string
loginDN string
password string
searchBase string
return void

Main() public static method

public static Main ( string args ) : void
args string
return void

MyDirectoryEventHandler() public method

public MyDirectoryEventHandler ( object source, DirectoryEventArgs objEventArgs ) : void
source object
objEventArgs Novell.Directory.Ldap.Events.DirectoryEventArgs
return void

MyDirectoryExceptionEventHandler() public method

public MyDirectoryExceptionEventHandler ( object source, DirectoryExceptionEventArgs objEventArgs ) : void
source object
objEventArgs Novell.Directory.Ldap.Events.DirectoryExceptionEventArgs
return void

MySearchReferralEventHandler() public method

public MySearchReferralEventHandler ( object source, SearchReferralEventArgs objEventArgs ) : void
source object
objEventArgs Novell.Directory.Ldap.Events.SearchReferralEventArgs
return void

MySearchResultEventHandler() public method

public MySearchResultEventHandler ( object source, SearchResultEventArgs objEventArgs ) : void
source object
objEventArgs Novell.Directory.Ldap.Events.SearchResultEventArgs
return void

MySearchResultEventHandler02() public method

public MySearchResultEventHandler02 ( object source, SearchResultEventArgs objEventArgs ) : void
source object
objEventArgs Novell.Directory.Ldap.Events.SearchResultEventArgs
return void