语言

BackgroundServiceStartNotAllowedException(String) 构造函数

定义

构造 函数。

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=31)]
public BackgroundServiceStartNotAllowedException(string message);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "", ApiSince=31)>]
new Android.App.BackgroundServiceStartNotAllowedException : string -> Android.App.BackgroundServiceStartNotAllowedException

参数

message
String

字符串:此值不能为 null。

特性

注解

构造 函数。

Android 参考。android.app.BackgroundServiceStartNotAllowedException.BackgroundServiceStartNotAllowedException

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于