UnavailableAttribute(PlatformName, PlatformArchitecture, String) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new availability attribute specifying that an API no longer exists on the specified platform.
public UnavailableAttribute (ObjCRuntime.PlatformName platform, ObjCRuntime.PlatformArchitecture architecture = ObjCRuntime.PlatformArchitecture.All, string message = null);
new ObjCRuntime.UnavailableAttribute : ObjCRuntime.PlatformName * ObjCRuntime.PlatformArchitecture * string -> ObjCRuntime.UnavailableAttribute
Parameters
- platform
- PlatformName
The platform this availability attribute applies to.
- architecture
- PlatformArchitecture
The architectures the attribute applies to (either only 32-bit, only 64-bit or both 32-bit and 64-bit architectures).
- message
- String
Additional information related to the availability information.