DotNetInvocationResult Konstruktoren

Definition

Überlädt

DotNetInvocationResult(Object)

Konstruktor für einen erfolgreichen Aufruf.

DotNetInvocationResult(Exception, String)

Konstruktor für einen fehlgeschlagenen Aufruf.

DotNetInvocationResult(Object)

Konstruktor für einen erfolgreichen Aufruf.

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)

Parameter

result
Object

Das Ergebnis.

Gilt für:

DotNetInvocationResult(Exception, String)

Konstruktor für einen fehlgeschlagenen Aufruf.

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)

Parameter

exception
Exception

Die Exception , die den Fehler verursacht hat.

errorKind
String

Die Fehlerart.

Gilt für: