A method that will handle the RemoteDocumentSource.ReportServerCredentialsDemanded event.
public delegate void CredentialsDemandedEventHandler(
Public Delegate Sub CredentialsDemandedEventHandler(
sender As Object,
e As CredentialsEventArgs
The event sender.
A CredentialsEventArgs object that contains data related to the event.
When creating a CredentialsDemandedEventHandler delegate, identify a method that will handle corresponding events.
To associate an event with an event handler, add a delegate instance to the event.
The event handler is called whenever the event occurs, unless the delegate is removed.
To learn more, see the Events and Delegates topic in MSDN.