Share via


NonComplianceMessage(String) Constructor

Definition

Initializes a new instance of NonComplianceMessage.

public NonComplianceMessage (string message);
new Azure.ResourceManager.Resources.Models.NonComplianceMessage : string -> Azure.ResourceManager.Resources.Models.NonComplianceMessage
Public Sub New (message As String)

Parameters

message
String

A message that describes why a resource is non-compliant with the policy. This is shown in 'deny' error messages and on resource's non-compliant compliance results.

Exceptions

message is null.

Applies to