'DeclarationSub LockEvents()
'UsageDim instance As IEventLocking instance.LockEvents()
void LockEvents()void LockEvents();  
            'DeclarationSub LockEvents()
'UsageDim instance As IEventLocking instance.LockEvents()
void LockEvents()void LockEvents(); This method or property does not throw any exceptions, aside from execution exceptions such as System.Threading.ThreadAbortException or System.OutOfMemoryException.