NodeApiStatusExtensions.ThrowIfFailed method (1 of 2)
C#
public static void ThrowIfFailed(this napi_status status,
[CallerMemberName] string memberName = "", [CallerFilePath] string sourceFilePath = "",
[CallerLineNumber] int sourceLineNumber = 0)
See Also
- enum napi_status
- class NodeApiStatusExtensions
- namespace Microsoft.JavaScript.NodeApi
NodeApiStatusExtensions.ThrowIfFailed<T> method (2 of 2)
C#
public static T ThrowIfFailed<T>(this napi_status status, T value,
[CallerMemberName] string memberName = "", [CallerFilePath] string sourceFilePath = "",
[CallerLineNumber] int sourceLineNumber = 0)
See Also
- enum napi_status
- class NodeApiStatusExtensions
- namespace Microsoft.JavaScript.NodeApi