Compartilhar via


AlertsManagementBaseCmdlet.WriteIdentifiedWarning Method

Definition

Writes a warning message with the name of the cmdlet, a topic and the message itself

protected void WriteIdentifiedWarning (string cmdletName, string topic, string message, bool withTimeStamp = false);
member this.WriteIdentifiedWarning : string * string * string * bool -> unit
Protected Sub WriteIdentifiedWarning (cmdletName As String, topic As String, message As String, Optional withTimeStamp As Boolean = false)

Parameters

cmdletName
String

The name of the cmdlet.

topic
String

The topic, i.e. short description/category, of the message

message
String

The message itself

withTimeStamp
Boolean

true if the message should include a timestamp, false (default) it no timestamp should be included

Applies to