Close Vs Abort in WCF Client Channels
Difference between Close and Abort in WCF Channels are listed below :
-
Close performs graceful shutdown of Client Channel vs Abort shut downs Client channel immediately.
-
Close waits for in progress calls to complete before closing where as Abort ends in progress calls.
-
Close should not be called in faulted channels as it can throw Communication or Timeout exception where as Abort should be called in faulted channels.