Partilhar via


ExpectedEvent.Target Property

Gets the object that is expected to raise the event.

Namespace: Microsoft.SpecExplorer.Runtime.Testing
Assembly: Microsoft.SpecExplorer.Runtime (in Microsoft.SpecExplorer.Runtime.dll)

Usage

'Usage

Syntax

'Declaration
public Object Target { get; }

Property Value

The object that is expected to raise the event; or null, for a static event or an event raised by the adapter.

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Platforms

Development Platforms

Microsoft Windows 7, Microsoft Windows Vista, Microsoft Windows XP SP2 or later, Microsoft Windows Server 2008, Microsoft Windows Server 2003

See Also

Reference

ExpectedEvent Structure
ExpectedEvent Members
Microsoft.SpecExplorer.Runtime.Testing Namespace