DotNetInvocationResult Constructors
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.
Overloads
DotNetInvocationResult(Object) |
Constructor for a successful invocation. |
DotNetInvocationResult(Exception, String) |
Constructor for a failed invocation. |
DotNetInvocationResult(Object)
- Source:
- DotNetInvocationResult.cs
- Source:
- DotNetInvocationResult.cs
- Source:
- DotNetInvocationResult.cs
Constructor for a successful invocation.
public:
DotNetInvocationResult(System::Object ^ result);
public DotNetInvocationResult (object result);
public DotNetInvocationResult (object? result);
new Microsoft.JSInterop.Infrastructure.DotNetInvocationResult : obj -> Microsoft.JSInterop.Infrastructure.DotNetInvocationResult
Public Sub New (result As Object)
Parameters
- result
- Object
The result.
Applies to
DotNetInvocationResult(Exception, String)
- Source:
- DotNetInvocationResult.cs
- Source:
- DotNetInvocationResult.cs
- Source:
- DotNetInvocationResult.cs
Constructor for a failed invocation.
public:
DotNetInvocationResult(Exception ^ exception, System::String ^ errorKind);
public DotNetInvocationResult (Exception exception, string errorKind);
public DotNetInvocationResult (Exception exception, string? errorKind);
new Microsoft.JSInterop.Infrastructure.DotNetInvocationResult : Exception * string -> Microsoft.JSInterop.Infrastructure.DotNetInvocationResult
Public Sub New (exception As Exception, errorKind As String)
Parameters
- errorKind
- String
The error kind.