Development · Native API migration preview · Coverage validation in progress Published release →

API Browser

Member group

.ctor

Declaring type: ObsoleteAttribute
Module: System
Assembly: System.Runtime.dll
Source file: ObsoleteAttribute.rvn

Overloads / Variants

.ctor

init() -> void

Source file: ObsoleteAttribute.rvn

Creates an obsolete warning with no explanatory message.

.ctor

init(message: string?, error: bool) -> void

Source file: ObsoleteAttribute.rvn

Creates an obsolete warning or error with the supplied migration message.

Parameters

Name Type Description
message String?
error Boolean

.ctor

init(message: string?) -> void

Source file: ObsoleteAttribute.rvn

Creates an obsolete warning with the supplied migration message.

Parameters

Name Type Description
message String?