Bewerken

Delen via


OrleansTaskExtentions.LogException(Task, ILogger, ErrorCode, String) Method

Definition

public static System.Threading.Tasks.Task LogException (this System.Threading.Tasks.Task task, Microsoft.Extensions.Logging.ILogger logger, Orleans.ErrorCode errorCode, string message);
static member LogException : System.Threading.Tasks.Task * Microsoft.Extensions.Logging.ILogger * Orleans.ErrorCode * string -> System.Threading.Tasks.Task
<Extension()>
Public Function LogException (task As Task, logger As ILogger, errorCode As ErrorCode, message As String) As Task

Parameters

task
Task
logger
ILogger
errorCode
ErrorCode
message
String

Returns

Applies to