private Abort ( object sender, EventArgs args ) : void | ||
sender | object | |
args | EventArgs | |
return | void |
public void Abort(object sender, EventArgs args) { WebConnection webConnection = ((HttpWebRequest)sender).WebConnection; if (webConnection == null) { webConnection = Connection; } webConnection.Abort(sender, args); }
public void Abort(object sender, EventArgs args) { WebConnection other = ((HttpWebRequest)sender).WebConnection; if (other == null) { other = Connection; } other.Abort(sender, args); }