 | DynamicTaskBuilderCanCallTargetMethodDirectly Method |
Determines whether the target method of a delegate can be called directly by a generated task class, or if the
delegate needs to be serialized.
Namespace:
Ookii.Jumbo.Jet.Jobs.Builder
Assembly:
Ookii.Jumbo.Jet (in Ookii.Jumbo.Jet.dll) Version: 2.0.0
Syntaxpublic static bool CanCallTargetMethodDirectly(
Delegate target
)
Public Shared Function CanCallTargetMethodDirectly (
target As Delegate
) As Boolean
public:
static bool CanCallTargetMethodDirectly(
Delegate^ target
)
static member CanCallTargetMethodDirectly :
target : Delegate -> bool
Parameters
- target
- Type: SystemDelegate
The delegate.
Return Value
Type:
Boolean if the target method of a delegate can be called directly;
if
the delegate needs to be serialized using
SerializeDelegate(SettingsDictionary, Delegate).
See Also