Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
51 lines (46 sloc) 3.28 KB
<Type Name="SqlRowUpdatingEventHandler" FullName="System.Data.SqlClient.SqlRowUpdatingEventHandler">
<TypeSignature Language="C#" Value="public delegate void SqlRowUpdatingEventHandler(object sender, SqlRowUpdatingEventArgs e);" />
<TypeSignature Language="ILAsm" Value=".class public auto ansi sealed SqlRowUpdatingEventHandler extends System.MulticastDelegate" />
<TypeSignature Language="DocId" Value="T:System.Data.SqlClient.SqlRowUpdatingEventHandler" />
<TypeSignature Language="VB.NET" Value="Public Delegate Sub SqlRowUpdatingEventHandler(sender As Object, e As SqlRowUpdatingEventArgs)" />
<TypeSignature Language="C++ CLI" Value="public delegate void SqlRowUpdatingEventHandler(System::Object ^ sender, SqlRowUpdatingEventArgs ^ e);" />
<TypeSignature Language="F#" Value="type SqlRowUpdatingEventHandler = delegate of obj * SqlRowUpdatingEventArgs -&gt; unit" />
<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>System.Data.SqlClient</AssemblyName>
<AssemblyVersion>4.2.0.0</AssemblyVersion>
<AssemblyVersion>4.4.0.0</AssemblyVersion>
<AssemblyVersion>4.5.0.0</AssemblyVersion>
<AssemblyVersion>4.6.0.0</AssemblyVersion>
</AssemblyInfo>
<Base>
<BaseTypeName>System.Delegate</BaseTypeName>
</Base>
<Parameters>
<Parameter Name="sender" Type="System.Object" />
<Parameter Name="e" Type="System.Data.SqlClient.SqlRowUpdatingEventArgs" />
</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.SqlClient.SqlRowUpdatingEventArgs" /> that contains the event data.</param>
<summary>Represents the method that will handle the <see cref="E:System.Data.SqlClient.SqlDataAdapter.RowUpdating" /> event of a <see cref="T:System.Data.SqlClient.SqlDataAdapter" />.</summary>
<remarks>
<format type="text/markdown"><![CDATA[
## Remarks
The handler is not required to perform any action, and your code should avoid generating exceptions or allowing exceptions to propagate to the calling method. Any exceptions that do reach the caller are ignored.
The handler may use the <xref:System.Data.SqlClient.SqlRowUpdatingEventArgs> to influence the processing of the updates. For example, the handler may opt to skip the update of the current row or skip the update of all remaining rows. Note that the rows are updated in the order that they were received from the data source.
When you create a <xref:System.Data.SqlClient.SqlRowUpdatingEventArgs> 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>
<related type="Article" href="~/docs/framework/data/adonet/ado-net-overview.md">ADO.NET Overview</related>
</Docs>
</Type>
You can’t perform that action at this time.