IDynamicInterfaceCastable Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Interface used to participate in a type cast failure.
public interface class IDynamicInterfaceCastable
public interface IDynamicInterfaceCastable
type IDynamicInterfaceCastable = interface
Public Interface IDynamicInterfaceCastable
- Derived
Remarks
Implementation of this interface on a value type will be ignored. Only non-value types are allowed to participate in a type cast failure through this interface.
Methods
GetInterfaceImplementation(RuntimeTypeHandle) |
Called during interface dispatch when the given interface type cannot be found in the class's metadata. |
IsInterfaceImplemented(RuntimeTypeHandle, Boolean) |
Called when an implementing class instance is cast to an interface type that is not contained in the class's metadata. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om