Class RequiresPreviewFeaturesAttribute
Inherited Members
Namespace: System.Runtime.Versioning
Assembly: Npgsql.dll
Syntax
[AttributeUsage(AttributeTargets.Assembly | AttributeTargets.Module | AttributeTargets.Class | AttributeTargets.Struct | AttributeTargets.Enum | AttributeTargets.Constructor | AttributeTargets.Method | AttributeTargets.Property | AttributeTargets.Field | AttributeTargets.Event | AttributeTargets.Interface | AttributeTargets.Delegate, Inherited = false)]
public sealed class RequiresPreviewFeaturesAttribute : Attribute
Constructors
RequiresPreviewFeaturesAttribute()
Initializes a new instance of the RequiresPreviewFeaturesAttribute class.
Declaration
public RequiresPreviewFeaturesAttribute()
RequiresPreviewFeaturesAttribute(String)
Initializes a new instance of the RequiresPreviewFeaturesAttribute class with the specified message.
Declaration
public RequiresPreviewFeaturesAttribute(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | An optional message associated with this attribute instance. |
Properties
Message
Returns the optional message associated with this attribute instance.
Declaration
public string Message { get; }
Property Value
Type | Description |
---|---|
String |
Url
Returns the optional URL associated with this attribute instance.
Declaration
public string Url { get; set; }
Property Value
Type | Description |
---|---|
String |