Condividi tramite


DotNetInvocationResult Costruttori

Definizione

Overload

DotNetInvocationResult(Object)

Costruttore per una chiamata riuscita.

DotNetInvocationResult(Exception, String)

Costruttore per una chiamata non riuscita.

DotNetInvocationResult(Object)

Origine:
DotNetInvocationResult.cs
Origine:
DotNetInvocationResult.cs
Origine:
DotNetInvocationResult.cs

Costruttore per una chiamata riuscita.

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)

Parametri

result
Object

Risultato.

Si applica a

DotNetInvocationResult(Exception, String)

Origine:
DotNetInvocationResult.cs
Origine:
DotNetInvocationResult.cs
Origine:
DotNetInvocationResult.cs

Costruttore per una chiamata non riuscita.

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)

Parametri

exception
Exception

Oggetto Exception che ha causato l'errore.

errorKind
String

Tipo di errore.

Si applica a