System.Runtime.ExceptionServices.ExceptionDispatchInfo.Capture C# (CSharp) Method

Capture() public static method

public static Capture ( Exception source ) : ExceptionDispatchInfo
source System.Exception
return ExceptionDispatchInfo
		public static ExceptionDispatchInfo Capture (Exception source)
		{
			if (source == null)
				throw new ArgumentNullException ("source");

			return new ExceptionDispatchInfo (source);
		}