PostSharp.ILAPI ReferencePost­Sharp.​Patterns.​ThreadingThread­Aware­AttributeOn­Yield­Event­Invoke
Open sandboxFocus

ThreadAwareAttribute.OnYieldEventInvoke Method

OnYieldEventInvoke(EventInterceptionArgs)

Declaration
[AdviceDependency]
[OnEventInvokeHandlerAdvice(LinesOfCodeAvoided = 1, Description = "Yields access to the object")]
[MethodPointcut("SelectYieldEvents")]
[EventInterceptionAdviceOptimization]
[Internal(AttributeId = -9126100459348524988L)]
[DebuggerAspectMethod]
public void OnYieldEventInvoke(EventInterceptionArgs args)
Parameters
Type Name Description
EventInterceptionArgs args