OrleansTaskExtentions.LogException(Task, ILogger, ErrorCode, String) Method
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.
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