Condividi tramite


EventDefinition<TParam1,TParam2,TParam3,TParam4,TParam5,TParam6>.GenerateMessage Metodo

Definizione

Overload

GenerateMessage(TParam1, TParam2, TParam3, TParam4, TParam5, TParam6)

Genera il messaggio che verrà registrato senza registrarlo. In genere usato per generare un'eccezione nei casi di avviso come errore.

GenerateMessage(TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, Exception)

Genera il messaggio che verrà registrato senza registrarlo. In genere usato per generare un'eccezione nei casi di avviso come errore.

GenerateMessage(TParam1, TParam2, TParam3, TParam4, TParam5, TParam6)

Genera il messaggio che verrà registrato senza registrarlo. In genere usato per generare un'eccezione nei casi di avviso come errore.

public virtual string GenerateMessage (TParam1 arg1, TParam2 arg2, TParam3 arg3, TParam4 arg4, TParam5 arg5, TParam6 arg6);
abstract member GenerateMessage : 'TParam1 * 'TParam2 * 'TParam3 * 'TParam4 * 'TParam5 * 'TParam6 -> string
override this.GenerateMessage : 'TParam1 * 'TParam2 * 'TParam3 * 'TParam4 * 'TParam5 * 'TParam6 -> string
Public Overridable Function GenerateMessage (arg1 As TParam1, arg2 As TParam2, arg3 As TParam3, arg4 As TParam4, arg5 As TParam5, arg6 As TParam6) As String

Parametri

arg1
TParam1

Primo argomento del messaggio.

arg2
TParam2

Secondo argomento del messaggio.

arg3
TParam3

Terzo argomento del messaggio.

arg4
TParam4

Quarto argomento del messaggio.

arg5
TParam5

Quinto argomento del messaggio.

arg6
TParam6

Il sesto argomento del messaggio.

Restituisce

La stringa di messaggio.

Si applica a

GenerateMessage(TParam1, TParam2, TParam3, TParam4, TParam5, TParam6, Exception)

Genera il messaggio che verrà registrato senza registrarlo. In genere usato per generare un'eccezione nei casi di avviso come errore.

public virtual string GenerateMessage (TParam1 arg1, TParam2 arg2, TParam3 arg3, TParam4 arg4, TParam5 arg5, TParam6 arg6, Exception exception = default);
abstract member GenerateMessage : 'TParam1 * 'TParam2 * 'TParam3 * 'TParam4 * 'TParam5 * 'TParam6 * Exception -> string
override this.GenerateMessage : 'TParam1 * 'TParam2 * 'TParam3 * 'TParam4 * 'TParam5 * 'TParam6 * Exception -> string
Public Overridable Function GenerateMessage (arg1 As TParam1, arg2 As TParam2, arg3 As TParam3, arg4 As TParam4, arg5 As TParam5, arg6 As TParam6, Optional exception As Exception = Nothing) As String

Parametri

arg1
TParam1

Primo argomento del messaggio.

arg2
TParam2

Secondo argomento del messaggio.

arg3
TParam3

Terzo argomento del messaggio.

arg4
TParam4

Quarto argomento del messaggio.

arg5
TParam5

Quinto argomento del messaggio.

arg6
TParam6

Il sesto argomento del messaggio.

exception
Exception

Eccezione facoltativa associata a questo evento.

Restituisce

La stringa di messaggio.

Si applica a