FallbackEventDefinition.GenerateMessage(Action<ILogger>) 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.
Generates the message that would be logged without logging it. Typically used for throwing an exception in warning-as-error cases.
public virtual string GenerateMessage (Action<Microsoft.Extensions.Logging.ILogger> logAction);
abstract member GenerateMessage : Action<Microsoft.Extensions.Logging.ILogger> -> string
override this.GenerateMessage : Action<Microsoft.Extensions.Logging.ILogger> -> string
Public Overridable Function GenerateMessage (logAction As Action(Of ILogger)) As String
Parameters
Returns
The message string.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework