Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called before the first CheckCondition call is made. Any initialization code that is relevant to the conditional rule should 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 Initialize ( _
sender As Object, _
e As ConditionalEventArgs _
)
public virtual void Initialize(
Object sender,
ConditionalEventArgs e
)
public:
virtual void Initialize(
Object^ sender,
ConditionalEventArgs^ e
)
abstract Initialize :
sender:Object *
e:ConditionalEventArgs -> unit
override Initialize :
sender:Object *
e:ConditionalEventArgs -> unit
public function Initialize(
sender : Object,
e : ConditionalEventArgs
)
Parameters
- sender
Type: System.Object
The sender of the event.
- e
Type: Microsoft.VisualStudio.TestTools.WebTesting.ConditionalEventArgs
The 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.