-
Notifications
You must be signed in to change notification settings - Fork 1.5k
/
LoginCancelEventHandler.xml
41 lines (38 loc) · 2.73 KB
/
LoginCancelEventHandler.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<Type Name="LoginCancelEventHandler" FullName="System.Web.UI.WebControls.LoginCancelEventHandler">
<TypeSignature Language="C#" Value="public delegate void LoginCancelEventHandler(object sender, LoginCancelEventArgs e);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed LoginCancelEventHandler extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:System.Web.UI.WebControls.LoginCancelEventHandler" />
<TypeSignature Language="VB.NET" Value="Public Delegate Sub LoginCancelEventHandler(sender As Object, e As LoginCancelEventArgs)" />
<TypeSignature Language="F#" Value="type LoginCancelEventHandler = delegate of obj * LoginCancelEventArgs -> unit" />
<TypeSignature Language="C++ CLI" Value="public delegate void LoginCancelEventHandler(System::Object ^ sender, LoginCancelEventArgs ^ e);" />
<AssemblyInfo>
<AssemblyName>System.Web</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="sender" Type="System.Object" />
<Parameter Name="e" Type="System.Web.UI.WebControls.LoginCancelEventArgs" />
</Parameters>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Docs>
<param name="sender">The source of the event.</param>
<param name="e">A <see cref="T:System.Web.UI.WebControls.LoginCancelEventArgs" /> object that contains the event data.</param>
<summary>Represents the method that handles a cancelable event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The <xref:System.Web.UI.WebControls.LoginCancelEventHandler> class represents the method that handles the cancelable events, such as the <xref:System.Web.UI.WebControls.Login.LoggingIn> event, or the <xref:System.Web.UI.WebControls.CreateUserWizard.CreatingUser> event.
When you create a <xref:System.Web.UI.WebControls.LoginCancelEventHandler> delegate, you identify the method that will handle the event. To associate the event with your event handler, add an instance of the delegate to the event. The event handler is called whenever the event occurs, unless you remove the delegate. For more information about event-handler delegates, see [Handling and Raising Events](/dotnet/standard/events/).
]]></format>
</remarks>
<altmember cref="T:System.Web.UI.WebControls.LoginCancelEventArgs" />
<related type="Article" href="https://msdn.microsoft.com/library/f4ee4ece-c984-4bf7-bfde-f2365c06026d">Login Controls</related>
<related type="Article" href="https://learn.microsoft.com/previous-versions/aspnet/ms178346(v=vs.100)">Securing Login Controls</related>
</Docs>
</Type>