Calling SafeInvoke on WCF Service Proxies


/ Published in: C#
Save to your folder(s)

Shows how to call SafeInvoke on WCF Service Channels (see Snippet 63037)


Copy this code and paste it in your HTML
  1. new ChannelFactory<IFooContract>().CreateChannel().SafeInvoke(service =>
  2. {
  3. service.Foo()
  4. });

URL: http://www.sage.co.uk/devblog

Report this snippet


Comments


You need to login to view comments.