Class UnstableAttribute
This API is unstable and is not covered by API compatibility guarantees between minor and patch releases.
[AttributeUsage(AttributeTargets.All)]
public sealed class UnstableAttribute : Attribute
- Inheritance
-
UnstableAttribute
- Inherited Members
Constructors
UnstableAttribute()
Initializes a new instance of the UnstableAttribute class.
public UnstableAttribute()
UnstableAttribute(string?)
Initializes a new instance of the UnstableAttribute class.
public UnstableAttribute(string? message)
Parameters
message
stringThe text string that describes alternative workarounds.
Properties
Message
Gets a value that indicates whether the compiler will treat usage of the obsolete program element as an error.
public string? Message { get; }