Close Vs Abort in WCF Client Channels

Difference between Close and Abort in WCF Channels are listed below :

  1. Close performs graceful shutdown of Client Channel vs Abort shut downs Client channel immediately.

  2. Close waits for in progress calls to complete before closing where as Abort ends in progress calls.

  3. 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.

Leave a Reply

%d bloggers like this: