CustomQueryInterfaceResult 枚举
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
CustomQueryInterfaceResult and support for ICustomQueryInterface may be unavailable in future releases.
提供 GetInterface(Guid, IntPtr) 方法的返回值。
public enum class CustomQueryInterfaceResult
C#
[System.Obsolete("CustomQueryInterfaceResult and support for ICustomQueryInterface may be unavailable in future releases.")]
public enum CustomQueryInterfaceResult
C#
public enum CustomQueryInterfaceResult
C#
[System.Runtime.InteropServices.ComVisible(false)]
[System.Serializable]
public enum CustomQueryInterfaceResult
[<System.Obsolete("CustomQueryInterfaceResult and support for ICustomQueryInterface may be unavailable in future releases.")>]
type CustomQueryInterfaceResult =
type CustomQueryInterfaceResult =
[<System.Runtime.InteropServices.ComVisible(false)>]
[<System.Serializable>]
type CustomQueryInterfaceResult =
Public Enum CustomQueryInterfaceResult
- 继承
- 属性
名称 | 值 | 说明 |
---|---|---|
Failed | 2 | 特定接口 ID 的接口不可用。 在这种情况下,返回的接口为 |
Handled | 0 | 从 GetInterface(Guid, IntPtr) 方法返回的接口指针可用作 IUnknown::QueryInterface 的结果。 |
NotHandled | 1 | 未使用自定义的 |
产品 | 版本 (已过时) |
---|---|
.NET | Core 2.0, Core 2.1, Core 2.2, Core 3.0, Core 3.1, 5, 6, 7, 8, 9 (Core 1.0, Core 1.1) |
.NET Framework | 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET Standard | 1.1, 2.0, 2.1 (1.2, 1.3, 1.4, 1.5, 1.6) |
UWP | (10.0) |