Permalink
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (46 sloc) 2.56 KB
<Type Name="StateChangeEventHandler" FullName="System.Data.StateChangeEventHandler">
<TypeSignature Language="C#" Value="public delegate void StateChangeEventHandler(object sender, StateChangeEventArgs e);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed StateChangeEventHandler extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:System.Data.StateChangeEventHandler" />
<TypeSignature Language="VB.NET" Value="Public Delegate Sub StateChangeEventHandler(sender As Object, e As StateChangeEventArgs)" />
<TypeSignature Language="C++ CLI" Value="public delegate void StateChangeEventHandler(System::Object ^ sender, StateChangeEventArgs ^ e);" />
<TypeSignature Language="F#" Value="type StateChangeEventHandler = delegate of obj * StateChangeEventArgs -&gt; unit" />
<AssemblyInfo>
<AssemblyName>System.Data.Common</AssemblyName>
<AssemblyVersion>4.1.0.0</AssemblyVersion>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.2.1.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>System.Data</AssemblyName>
<AssemblyVersion>1.0.5000.0</AssemblyVersion>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
<AssemblyVersion>2.0.5.0</AssemblyVersion>
<AssemblyVersion>4.0.0.0</AssemblyVersion>
</AssemblyInfo>
<AssemblyInfo>
<AssemblyName>netstandard</AssemblyName>
<AssemblyVersion>2.0.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="sender" Type="System.Object" />
<Parameter Name="e" Type="System.Data.StateChangeEventArgs" />
</Parameters>
<ReturnValue>
<ReturnType>System.Void</ReturnType>
</ReturnValue>
<Docs>
<param name="sender">The source of the event.</param>
<param name="e">The <see cref="T:System.Data.StateChangeEventArgs" /> that contains the event data.</param>
<summary>Represents the method that will handle the <see cref="E:System.Data.Common.DbConnection.StateChange" /> event.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
When you create a <xref:System.Data.StateChangeEventHandler> 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](~/docs/standard/events/index.md).
]]></format>
</remarks>
</Docs>
</Type>