Not logged in. · Lost password · Register
Forum: agsXMPP RSS
gab #1
Member since Jul 2007 · 4 posts
Group memberships: Members
Show profile · Link to this post
Subject: log in error detection?

can anyone share how i can detect authentication error in using agsxmpp? the authentication error for c# is in miniclient but i'm not sure how to create the callback function in to capture the error

i tried this but 2005 complains...

    Private Sub XmppCon_OnAuthError(ByVal sender As Object) Handles XmppCon.OnAuthError
        If InvokeRequired Then
            BeginInvoke(CType(AddressOf XmppCon_OnAuthError, agsXMPP.ObjectHandler), New Object() {sender})
        End If

    '... ...
    End Sub
Alex #2
Member since Feb 2003 · 4297 posts · Location: Germany
Group memberships: Administrators, Members
Show profile · Link to this post

If you use Visual Studio or SharpDevelop you can add all this events with one mouse click.

Private Sub XmppCon_OnAuthError(ByVal sender As Object, ByVal e As agsXMPP.Xml.Dom.Element) Handles XmppCon.OnAuthError

End Sub

Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please enter the word from the image into the text field below. (Type the letters only, lower case is okay.)
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Forum: agsXMPP RSS