다음을 통해 공유


Throwable.LocalizedMessage Property

Definition

Creates a localized description of this throwable.

public virtual string? LocalizedMessage { [Android.Runtime.Register("getLocalizedMessage", "()Ljava/lang/String;", "GetGetLocalizedMessageHandler")] get; }
[<get: Android.Runtime.Register("getLocalizedMessage", "()Ljava/lang/String;", "GetGetLocalizedMessageHandler")>]
member this.LocalizedMessage : string

Property Value

The localized description of this throwable.

Attributes

Remarks

Creates a localized description of this throwable. Subclasses may override this method in order to produce a locale-specific message. For subclasses that do not override this method, the default implementation returns the same result as getMessage().

Added in 1.1.

Java documentation for java.lang.Throwable.getLocalizedMessage().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to