UnavailableAttribute(PlatformName, PlatformArchitecture, String) UnavailableAttribute(PlatformName, PlatformArchitecture, String) Constructor

Definition

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 PlatformName

The platform this availability attribute applies to.

architecture
PlatformArchitecture PlatformArchitecture

The architectures the attribute applies to (either only 32-bit, only 64-bit or both 32-bit and 64-bit architectures).

message
String String

Additional information related to the availability information.

Applies to