Visual Basic (Declaration) | |
---|---|
Public Event RequestingAuthentication As RequestingAuthenticationEventHandler |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As UXPage Dim handler As RequestingAuthenticationEventHandler AddHandler instance.RequestingAuthentication, handler |
C# | |
---|---|
public event RequestingAuthenticationEventHandler RequestingAuthentication |
Delphi | |
---|---|
public event RequestingAuthentication: RequestingAuthenticationEventHandler; |
JScript | |
---|---|
In JScript, you can handle the events defined by another class, but you cannot define your own. |
Managed Extensions for C++ | |
---|---|
public: __event RequestingAuthenticationEventHandler* RequestingAuthentication |
C++/CLI | |
---|---|
public: event RequestingAuthenticationEventHandler^ RequestingAuthentication |
The event handler receives an argument of type RequestingAuthenticationEventArgs containing data related to this event. The following RequestingAuthenticationEventArgs properties provide information specific to this event.
Property | Description |
---|---|
FromUri | Gets the uniform resource identifier (URI) of the page requesting authentication. |
Handled (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | Gets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. |
HandledBy (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
IsHandledByPrimitive (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
OriginalSource (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
RedirectUri | Gets or sets the uniform resource identifier (URI) to be redirected for user authentication. |
RoutedEvent (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | |
Source (Inherited from Intersoft.Client.Framework.ISRoutedEventArgs) | Gets or sets a reference to the object that raised the event. |
When authentication is required for a page, this event is raised to give an opportunity for developers to track and handle the authentication request, such as by providing the RedirectUri value and subsequently set the Handled of the event data to true.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family