aboutsummaryrefslogtreecommitdiff
path: root/files/es/nsicancelable/index.html
diff options
context:
space:
mode:
authorPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:45 -0500
committerPeter Bengtsson <mail@peterbe.com>2020-12-08 14:41:45 -0500
commit1109132f09d75da9a28b649c7677bb6ce07c40c0 (patch)
tree0dd8b084480983cf9f9680e8aedb92782a921b13 /files/es/nsicancelable/index.html
parent4b1a9203c547c019fc5398082ae19a3f3d4c3efe (diff)
downloadtranslated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.tar.gz
translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.tar.bz2
translated-content-1109132f09d75da9a28b649c7677bb6ce07c40c0.zip
initial commit
Diffstat (limited to 'files/es/nsicancelable/index.html')
-rw-r--r--files/es/nsicancelable/index.html50
1 files changed, 50 insertions, 0 deletions
diff --git a/files/es/nsicancelable/index.html b/files/es/nsicancelable/index.html
new file mode 100644
index 0000000000..f54b4aea34
--- /dev/null
+++ b/files/es/nsicancelable/index.html
@@ -0,0 +1,50 @@
+---
+title: nsICancelable
+slug: nsICancelable
+tags:
+ - Interfaces
+ - Todas_las_Categorías
+translation_of: Mozilla/Tech/XPCOM/Reference/Interface/nsICancelable
+---
+<p> </p>
+<p> </p>
+<p><br>
+ La interfaz <code>nsICancelable</code> ofrece in método para cancelar una operación de descarga que está en progreso.</p>
+<p><br>
+ </p><div style="border: solid #ddd 2px; margin-bottom: 12px;">
+<div style="background: #eee; padding: 2px;"><code><a href="https://dxr.mozilla.org/mozilla-central/source/netwerk/base/public/nsICancelable.idl" rel="custom">netwerk/base/public/nsICancelable.idl</a></code><span style="text-align: right; float: right;"><a href="/en-US/docs/Interfaces/About_Scriptable_Interfaces" style="color: #00cc00; font-weight: 700;">Scriptable</a></span></div>
+<span style="padding: 4px 2px;">
+
+<i>Please add a summary to this article.</i>
+</span>
+
+<div style="background: #eee; padding: 2px;">
+<span> </span>
+<span style="text-align: right; float: right;">Last changed in Gecko 1.9 (Firefox 3)</span></div>
+</div><p></p>
+<p>Inherits from: <a href="es/NsISupports">nsISupports</a></p>
+<h2 id="Descripci.C3.B3n_de_m.C3.A9todo" name="Descripci.C3.B3n_de_m.C3.A9todo">Descripción de método</h2>
+<table class="standard-table">
+ <tbody>
+ <tr>
+ <td><code>void <a href="#cancel.28.29">cancel</a>(in <a href="es/Nsresult">nsresult</a> aReason);</code></td>
+ </tr>
+ </tbody>
+</table>
+<h2 id="M.C3.A9todos" name="M.C3.A9todos">Métodos</h2>
+<h3 id="cancel.28.29" name="cancel.28.29">cancel()</h3>
+<p>CLlama a éste método para solicitar la cancelación de cualquier operación que pueda estar realizando.</p>
+<pre class="eval"> void cancel(
+ in nsresult aReason
+ );
+</pre>
+<h6 id="Par.C3.A1metros" name="Par.C3.A1metros">Parámetros</h6>
+<dl>
+ <dt>
+ &lt;tt&gt;aReason&lt;/tt&gt;</dt>
+ <dd>
+ Un código de fallo indica porqué la operación ha sido cancelada. Es un error pasar un código de éxito.</dd>
+</dl>
+<div class="noinclude">
+  </div>
+<p></p>