EventInfo.GetRaiseMethod Method (Boolean)
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
When overridden in a derived class, returns the method that is called when the event is raised, specifying whether to return non-public methods.
Assembly: mscorlib (in mscorlib.dll)
'Declaration Public MustOverride Function GetRaiseMethod ( _ nonPublic As Boolean _ ) As MethodInfo
Parameters
- nonPublic
- Type: System.Boolean
true if non-public methods can be returned; otherwise, false.
| Exception | Condition |
|---|---|
| MemberAccessException | This member is invoked late-bound through mechanisms such as Type.InvokeMember. |
Show: