Geeks With Blogs
ken spencer

This type is a delegate and is pretty cool. It can contain a method with one parameter and no  return value. You can read a bit more here:

This type is used Transient Fault Tolerance Framework in some of the ExecuteAction methods. For instance, the following signature allows you to call ExecuteAction and pass in 3 anonymous methods:

public abstract void ExecuteAction(Action<AsyncCallback> action, Action<IAsyncResult> callback, Action<Exception> faultHandler);

You can see an example of calling this method in this article:

Posted on Friday, November 4, 2011 5:37 PM | Back to top

Comments on this post: .Net: Action type

No comments posted yet.
Your comment:
 (will show your gravatar)

Copyright © xamlnotes | Powered by: