Utils.SafeExecute Método
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
Sobrecargas
SafeExecute(Action, Logger, String) | |
SafeExecute(Action, Logger, Func<String>) | |
SafeExecute(Action, ILogger, String) | |
SafeExecute(Action, ILogger, Func<String>) | |
SafeExecute(Action) |
SafeExecute(Action, Logger, String)
public static void SafeExecute (Action action, Orleans.Runtime.Logger logger = default, string caller = default);
static member SafeExecute : Action * Orleans.Runtime.Logger * string -> unit
Public Sub SafeExecute (action As Action, Optional logger As Logger = Nothing, Optional caller As String = Nothing)
Parâmetros
- action
- Action
- logger
- Logger
- caller
- String
Aplica-se a
SafeExecute(Action, Logger, Func<String>)
public static void SafeExecute (Action action, Orleans.Runtime.Logger logger, Func<string> callerGetter);
static member SafeExecute : Action * Orleans.Runtime.Logger * Func<string> -> unit
Public Sub SafeExecute (action As Action, logger As Logger, callerGetter As Func(Of String))
Parâmetros
- action
- Action
- logger
- Logger
Aplica-se a
SafeExecute(Action, ILogger, String)
- Origem:
- Utils.cs
public static void SafeExecute (Action action, Microsoft.Extensions.Logging.ILogger logger = default, string caller = default);
public static void SafeExecute (Action action, Microsoft.Extensions.Logging.ILogger? logger = default, string? caller = default);
static member SafeExecute : Action * Microsoft.Extensions.Logging.ILogger * string -> unit
Public Sub SafeExecute (action As Action, Optional logger As ILogger = Nothing, Optional caller As String = Nothing)
Parâmetros
- action
- Action
- logger
- ILogger
- caller
- String
Aplica-se a
SafeExecute(Action, ILogger, Func<String>)
- Origem:
- Utils.cs
public static void SafeExecute (Action action, Microsoft.Extensions.Logging.ILogger logger, Func<string> callerGetter);
static member SafeExecute : Action * Microsoft.Extensions.Logging.ILogger * Func<string> -> unit
Public Sub SafeExecute (action As Action, logger As ILogger, callerGetter As Func(Of String))
Parâmetros
- action
- Action
- logger
- ILogger
Aplica-se a
SafeExecute(Action)
public static void SafeExecute (Action action);
static member SafeExecute : Action -> unit
Public Sub SafeExecute (action As Action)
Parâmetros
- action
- Action