# C1.Util.DX.Action-2

## Content

<div class="doc-site-dotnet-api-container">



  <h1 id="C1_Util_DX_Action_2" data-uid="C1.Util.DX.Action`2" class="text-break">Action&lt;T1, T2&gt; Delegate
</h1>
  <div class="markdown level0 summary"><p>Encapsulates a method that has two parameters and does not return a value.</p>
</div>
  <div class="markdown level0 conceptual"></div>
  <h6><strong>Namespace</strong>: <a class="xref" href="C1.Util.DX.html">C1.Util.DX</a></h6>
  <h6><strong>Assembly</strong>: C1.Win.DX.10.dll</h6>
  <h5 id="C1_Util_DX_Action_2_syntax">Syntax</h5>
  <div class="codewrapper">
    <pre><code class="lang-csharp hljs">public delegate void Action&lt;in T1, in T2&gt;(T1 arg1, T2 arg2)</code></pre>
  </div>
  <div class="codewrapper">
    <pre><code class="lang-vbnet hljs">Public Delegate Sub Action(Of In T1, In T2)(arg1 As T1, arg2 As T2)</code></pre>
  </div>
  <h5 class="parameters">Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Type</th>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="xref">T1</span></td>
        <td><span class="parametername">arg1</span></td>
        <td>Encapsulates a method that has two parameters and does not return a value.</td>
      </tr>
      <tr>
        <td><span class="xref">T2</span></td>
        <td><span class="parametername">arg2</span></td>
        <td>Encapsulates a method that has two parameters and does not return a value.</td>
      </tr>
    </tbody>
  </table>
  <h5 class="typeParameters">Type Parameters</h5>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td><span class="parametername">T1</span></td>
        <td></td>
      </tr>
      <tr>
        <td><span class="parametername">T2</span></td>
        <td></td>
      </tr>
    </tbody>
  </table>
  <h3 id="constructors">Constructors
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Action_2__ctor_System_Object_System_IntPtr_" data-uid="C1.Util.DX.Action`2.#ctor(System.Object,System.IntPtr)">
          <a class="xref" href="C1.Util.DX.Action-2.-ctor.html#C1_Util_DX_Action_2__ctor_System_Object_System_IntPtr_">Action(object, nint)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>
  <h3 id="methods">Methods
</h3>
  <table class="table table-bordered table-condensed">
    <thead>
      <tr>
        <th>Name</th>
        <th>Description</th>
      </tr>
    </thead>
    <tbody>
      <tr>
        <td id="C1_Util_DX_Action_2_BeginInvoke__0__1_System_AsyncCallback_System_Object_" data-uid="C1.Util.DX.Action`2.BeginInvoke(`0,`1,System.AsyncCallback,System.Object)">
          <a class="xref" href="C1.Util.DX.Action-2.BeginInvoke.html#C1_Util_DX_Action_2_BeginInvoke__0__1_System_AsyncCallback_System_Object_">BeginInvoke(T1, T2, AsyncCallback, object)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Action_2_EndInvoke_System_IAsyncResult_" data-uid="C1.Util.DX.Action`2.EndInvoke(System.IAsyncResult)">
          <a class="xref" href="C1.Util.DX.Action-2.EndInvoke.html#C1_Util_DX_Action_2_EndInvoke_System_IAsyncResult_">EndInvoke(IAsyncResult)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
      <tr>
        <td id="C1_Util_DX_Action_2_Invoke__0__1_" data-uid="C1.Util.DX.Action`2.Invoke(`0,`1)">
          <a class="xref" href="C1.Util.DX.Action-2.Invoke.html#C1_Util_DX_Action_2_Invoke__0__1_">Invoke(T1, T2)</a>
        </td>
        <td class="markdown level1 summary"></td>
      </tr>
    </tbody>
  </table>

</div>
