Illuminati
Illuminati

Reputation: 4619

Best practice to close WCF Clients after async calls

Can anybody advice me the best practice for closing WCF clients after doing a async calls? Should it be within the "completed" method or should there be a different approach?

/BB

Upvotes: 1

Views: 1185

Answers (1)

larsw
larsw

Reputation: 3830

It's a good practice to close the client in the EndOperation() method.

--larsw

Upvotes: 1

Related Questions