ConditionalRule.CleanUp Method
Called after the loop or condition has finished executing. This includes any requests in the body. Any cleanup code that is relevant to the conditional rule must be added to this method.
Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntax
'Declaration
Public Overridable Sub CleanUp ( _
sender As Object, _
e As ConditionalEventArgs _
)
public virtual void CleanUp(
Object sender,
ConditionalEventArgs e
)
public:
virtual void CleanUp(
Object^ sender,
ConditionalEventArgs^ e
)
abstract CleanUp :
sender:Object *
e:ConditionalEventArgs -> unit
override CleanUp :
sender:Object *
e:ConditionalEventArgs -> unit
public function CleanUp(
sender : Object,
e : ConditionalEventArgs
)
Parameters
sender
Type: ObjectThe sender of the event.
e
Type: Microsoft.VisualStudio.TestTools.WebTesting.ConditionalEventArgsThe ConditionalEventArgs that contains the event data.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.