语言

ProgressDialog 构造函数

定义

重载

名称 说明
ProgressDialog(Context)

创建“进度”对话框。

ProgressDialog(Context, Int32)

创建“进度”对话框。

ProgressDialog(IntPtr, JniHandleOwnership)

初始化现有 Java Native Interface 对象的托管表示形式。

ProgressDialog(Context)

创建“进度”对话框。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")]
public ProgressDialog(Android.Content.Context? context);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;)V", "")>]
new Android.App.ProgressDialog : Android.Content.Context -> Android.App.ProgressDialog

参数

context
Context

父上下文

特性

注解

创建“进度”对话框。

Android 参考。android.app.ProgressDialog.ProgressDialog

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

适用于

ProgressDialog(Context, Int32)

创建“进度”对话框。

[Android.Runtime.Register(".ctor", "(Landroid/content/Context;I)V", "")]
public ProgressDialog(Android.Content.Context? context, int theme);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;I)V", "")>]
new Android.App.ProgressDialog : Android.Content.Context * int -> Android.App.ProgressDialog

参数

context
Context

父上下文

theme
Int32

要对其放大此对话的主题的资源 ID,或使用 0 父 context级的默认警报对话主题

特性

注解

创建“进度”对话框。

Android 参考。android.app.ProgressDialog.ProgressDialog

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

适用于

ProgressDialog(IntPtr, JniHandleOwnership)

初始化现有 Java Native Interface 对象的托管表示形式。

protected ProgressDialog(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.ProgressDialog : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.ProgressDialog

参数

javaReference
IntPtr

nativeint

Java Native Interface 对象引用。

transfer
JniHandleOwnership

要应用于 Java Native Interface 对象引用的所有权转让。

注解

当为现有Java对象创建托管对等时,此构造函数由 Android 绑定运行时的 .NET 调用。

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

适用于