Export (0) Print
Expand All

CustomQueryInterfaceResult Enumeration

Provides return values for the GetInterface method.

Namespace:  System.Runtime.InteropServices
Assemblies:   mscorlib (in mscorlib.dll)
  System.Runtime.InteropServices (in System.Runtime.InteropServices.dll)

[SerializableAttribute]
[ComVisibleAttribute(false)]
public enum CustomQueryInterfaceResult

Member nameDescription
Supported by Portable Class LibraryFailedThe interface for a specific interface ID is not available. In this case, the returned interface is null. E_NOINTERFACE is returned to the caller of IUnknown::QueryInterface.
Supported by Portable Class LibraryHandledThe interface pointer that is returned from the GetInterface method can be used as the result of IUnknown::QueryInterface.
Supported by Portable Class LibraryNotHandledThe custom QueryInterface was not used. Instead, the default implementation of IUnknown::QueryInterface should be used.

.NET Framework

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Portable Class Library

Supported in: Portable Class Library

Supported in: Windows Phone 8.1

Supported in: Windows Phone Silverlight 8.1

Supported in: Windows Phone Silverlight 8
Show:
© 2015 Microsoft