OrleansLoggerExtension.Assert(ILogger, ErrorCode, Boolean, String) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
public static void Assert (this Microsoft.Extensions.Logging.ILogger logger, Orleans.ErrorCode errorCode, bool condition, string message = default);
static member Assert : Microsoft.Extensions.Logging.ILogger * Orleans.ErrorCode * bool * string -> unit
<Extension()>
Public Sub Assert (logger As ILogger, errorCode As ErrorCode, condition As Boolean, Optional message As String = Nothing)
参数
- logger
- ILogger
- errorCode
- ErrorCode
- condition
- Boolean
- message
- String