[C#]
event TSSHAuthenticationFailedEvent OnAuthFailed;
delegate void TSSHAuthenticationFailedEvent(Object Sender, int AuthenticationType);
[VB.NET]
Event OnAuthFailed As TSSHAuthenticationFailedEvent
Delegate Sub TSSHAuthenticationFailedEvent(ByVal Sender As Object, ByVal AuthenticationType As Integer)