Export (0) Print
Expand All

DynamicScriptObject.TryInvokeMember Method

.NET Framework 4.6 and 4.5

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

Calls a method on the script object.

Namespace:  System.Windows.Interop
Assembly:  PresentationFramework (in PresentationFramework.dll)

public override bool TryInvokeMember(
	InvokeMemberBinder binder,
	Object[] args,
	out Object result
)

Parameters

binder
Type: System.Dynamic.InvokeMemberBinder

The binder provided by the call site.

args
Type: System.Object[]

The arguments to pass to the default method.

result
Type: System.Object

The method result.

Return Value

Type: System.Boolean
Always return true.

ExceptionCondition
ArgumentNullException

binder is null.

MissingMethodException

The method does not exist.

The TryInvokeMember method throws an exception if an invalid access is attempted.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4
Show:
© 2015 Microsoft