Class InvalidBindingHandle
Represents a handle to an invalid binding.
public record InvalidBindingHandle : IBindingHandle, IEquatable<InvalidBindingHandle>
- Inheritance
-
InvalidBindingHandle
- Implements
- Inherited Members
Remarks
💥 All methods throw NotSupportedException.
Properties
BindingCapabilities
Indicates the valid members of this binding.
public BindingCapabilities BindingCapabilities { get; }
Property Value
Default
public static InvalidBindingHandle Default { get; }
Property Value
Methods
GetValue(IVBExecutionContext)
Gets the value associated to this handle.
public IManagedInteropValue GetValue(IVBExecutionContext context)
Parameters
contextIVBExecutionContext
Returns
Remarks
👉 Verify that the binding supports GetValue.
Exceptions
Invoke(IVBExecutionContext, IManagedInteropValue[])
Invokes the callable entity associated to this handle.
public IManagedInteropValue Invoke(IVBExecutionContext context, IManagedInteropValue[] args)
Parameters
contextIVBExecutionContextargsIManagedInteropValue[]
Returns
Remarks
👉 Verify that the binding supports SetValue.
Exceptions
SetValue(IVBExecutionContext, IManagedInteropValue)
Sets the value associated to this handle.
public void SetValue(IVBExecutionContext context, IManagedInteropValue value)
Parameters
contextIVBExecutionContextvalueIManagedInteropValue
Remarks
👉 Verify that the binding supports SetValue.