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
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Entity Framework