@@ -40,11 +40,11 @@ protected virtual void OnComplete()
4040 Complete ? . Invoke ( this , EventArgs . Empty ) ;
4141 }
4242
43- public event EventHandler UserHasCanceled ;
43+ public event EventHandler Canceled ;
4444
45- protected virtual void OnUserHasCanceled ( )
45+ protected virtual void OnCanceled ( )
4646 {
47- UserHasCanceled ? . Invoke ( this , EventArgs . Empty ) ;
47+ Canceled ? . Invoke ( this , EventArgs . Empty ) ;
4848 }
4949 #endregion
5050
@@ -74,7 +74,7 @@ public void GetAsync(IPAddress ipAddress, string oid, SNMPOptions options)
7474 }
7575 catch ( OperationCanceledException )
7676 {
77- OnUserHasCanceled ( ) ;
77+ OnCanceled ( ) ;
7878 }
7979 catch ( ErrorException )
8080 {
@@ -119,7 +119,7 @@ public void GetAsyncV3(IPAddress ipAddress, string oid, SNMPOptionsV3 options)
119119 }
120120 catch ( OperationCanceledException )
121121 {
122- OnUserHasCanceled ( ) ;
122+ OnCanceled ( ) ;
123123 }
124124 catch ( ErrorException )
125125 {
@@ -153,7 +153,7 @@ public void WalkAsync(IPAddress ipAddress, string oid, SNMPOptions options)
153153 }
154154 catch ( OperationCanceledException )
155155 {
156- OnUserHasCanceled ( ) ;
156+ OnCanceled ( ) ;
157157 }
158158 catch ( ErrorException )
159159 {
@@ -190,7 +190,7 @@ public void WalkAsyncV3(IPAddress ipAddress, string oid, SNMPOptionsV3 options)
190190 }
191191 catch ( OperationCanceledException )
192192 {
193- OnUserHasCanceled ( ) ;
193+ OnCanceled ( ) ;
194194 }
195195 catch ( ErrorException )
196196 {
@@ -220,7 +220,7 @@ public void SetAsync(IPAddress ipAddress, string oid, string data, SNMPOptions o
220220 }
221221 catch ( OperationCanceledException )
222222 {
223- OnUserHasCanceled ( ) ;
223+ OnCanceled ( ) ;
224224 }
225225 catch ( ErrorException )
226226 {
@@ -258,7 +258,7 @@ public void SetAsyncV3(IPAddress ipAddress, string oid, string data, SNMPOptions
258258 }
259259 catch ( OperationCanceledException )
260260 {
261- OnUserHasCanceled ( ) ;
261+ OnCanceled ( ) ;
262262 }
263263 catch ( ErrorException )
264264 {
0 commit comments