Visual Basic (Declaration) | |
---|---|
Function GetTicket() As IDisposable |
Visual Basic (Usage) | ![]() |
---|---|
Dim instance As IBusyWatcher Dim value As IDisposable value = instance.GetTicket() |
C# | |
---|---|
IDisposable GetTicket() |
C++/CLI | |
---|---|
IDisposable^ GetTicket(); |
Return Value
Ticket implementing IDisposable.The internal busy indicator is incremented by calling this method and as soon as the Dispose() method is called on the ticket, the internal busy counter is decremented.
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family