This documentation is archived and is not being maintained.

IHostAutoEvent Interface

Provides a representation of the host's implementation of an auto-reset event.

interface IHostAutoEvent : IUnknown {
    HRESULT Set ();
    HRESULT Wait (
        [in] DWORD dwMilliseconds,
        [in] DWORD option



IHostAutoEvent::Set Method

Sets the current IHostAutoEvent instance to a signaled state.

IHostAutoEvent::Wait Method

Causes the current IHostAutoEvent instance to wait until the event is owned or a specified amount of time elapses.

Platforms: See .NET Framework System Requirements.

Header: MSCorEE.idl

Library: Included as a resource in MSCorEE.dll

.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0