ows.Exception.TypeOf(typeof(ArgumentException)));
Assert.That( new TestDelegate(SomeMethod),
  Throws.TypeOf(typeof(ArgumentException))
    .With.Property("Parameter").EqualTo("myParam"));
Assert.That( new TestDelegate(SomeMethod),
  Throws.ArgumentException );
Assert.That( new TestDelegate(SomeMethod),
  Throws.TargetInvocationException
    .With.InnerException.TypeOf(ArgumentException));

// .NET 2.0
Assert.That( SomeMethod,
  Throws.TypeOf&lt;ArgumentException&gt;());
Assert.That( SomeMethod,
  Throws.Ex