Language

PccEgressException Constructors

Definition

Overloads

Name Description
PccEgressException(PccEgressExceptionStatusError)

Creates a new PccEgressException with a given StatusCode.

PccEgressException(PccEgressExceptionStatusError, PccEgressException+SensitiveCategoryInfo)

Creates an egress exception with a failure code and sensitive-category information.

PccEgressException(PccEgressExceptionStatusError, String)

Creates a new PccEgressException with a given StatusCode and detailed error message.

PccEgressException(PccEgressExceptionStatusError, String, PccEgressException+SensitiveCategoryInfo)

Creates an egress exception with a failure code, detail message, and sensitive-category information.

PccEgressException(PccEgressExceptionStatusError)

Creates a new PccEgressException with a given StatusCode.

[Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=37)]
public PccEgressException(Android.App.PrivateCompute.PccEgressExceptionStatusError statusCode);
[<Android.Runtime.Register(".ctor", "(I)V", "", ApiSince=37)>]
new Android.App.PrivateCompute.PccEgressException : Android.App.PrivateCompute.PccEgressExceptionStatusError -> Android.App.PrivateCompute.PccEgressException

Parameters

statusCode
PccEgressExceptionStatusError

The StatusCode of the egress failure.

Attributes

Remarks

The exception message includes the supplied numeric status code. No sensitive-category information is stored by this overload.

Applies to

PccEgressException(PccEgressExceptionStatusError, PccEgressException+SensitiveCategoryInfo)

Creates an egress exception with a failure code and sensitive-category information.

[Android.Runtime.Register(".ctor", "(ILandroid/app/privatecompute/PccEgressException$SensitiveCategoryInfo;)V", "", ApiSince=37)]
public PccEgressException(Android.App.PrivateCompute.PccEgressExceptionStatusError statusCode, Android.App.PrivateCompute.PccEgressException.SensitiveCategoryInfo sensitiveCategoryInfo);
[<Android.Runtime.Register(".ctor", "(ILandroid/app/privatecompute/PccEgressException$SensitiveCategoryInfo;)V", "", ApiSince=37)>]
new Android.App.PrivateCompute.PccEgressException : Android.App.PrivateCompute.PccEgressExceptionStatusError * Android.App.PrivateCompute.PccEgressException.SensitiveCategoryInfo -> Android.App.PrivateCompute.PccEgressException

Parameters

statusCode
PccEgressExceptionStatusError

The failure code to store in the exception.

sensitiveCategoryInfo
PccEgressException.SensitiveCategoryInfo

The SensitiveCategoryInfo detailing the sensitive content screening result. This value cannot be null.

Attributes

Remarks

Android reference for android.app.privatecompute.PccEgressException.PccEgressException.

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

PccEgressException(PccEgressExceptionStatusError, String)

Creates a new PccEgressException with a given StatusCode and detailed error message.

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=37)]
public PccEgressException(Android.App.PrivateCompute.PccEgressExceptionStatusError statusCode, string message);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;)V", "", ApiSince=37)>]
new Android.App.PrivateCompute.PccEgressException : Android.App.PrivateCompute.PccEgressExceptionStatusError * string -> Android.App.PrivateCompute.PccEgressException

Parameters

statusCode
PccEgressExceptionStatusError

The StatusCode of the egress failure.

message
String

The detailed error message description.

Attributes

Remarks

The exception stores the supplied message and status code. No sensitive-category information is stored by this overload.

Applies to

PccEgressException(PccEgressExceptionStatusError, String, PccEgressException+SensitiveCategoryInfo)

Creates an egress exception with a failure code, detail message, and sensitive-category information.

[Android.Runtime.Register(".ctor", "(ILjava/lang/String;Landroid/app/privatecompute/PccEgressException$SensitiveCategoryInfo;)V", "", ApiSince=37)]
public PccEgressException(Android.App.PrivateCompute.PccEgressExceptionStatusError statusCode, string message, Android.App.PrivateCompute.PccEgressException.SensitiveCategoryInfo sensitiveCategoryInfo);
[<Android.Runtime.Register(".ctor", "(ILjava/lang/String;Landroid/app/privatecompute/PccEgressException$SensitiveCategoryInfo;)V", "", ApiSince=37)>]
new Android.App.PrivateCompute.PccEgressException : Android.App.PrivateCompute.PccEgressExceptionStatusError * string * Android.App.PrivateCompute.PccEgressException.SensitiveCategoryInfo -> Android.App.PrivateCompute.PccEgressException

Parameters

statusCode
PccEgressExceptionStatusError

The failure code to store in the exception.

message
String

The detailed error message description. This value cannot be null.

sensitiveCategoryInfo
PccEgressException.SensitiveCategoryInfo

The SensitiveCategoryInfo detailing the sensitive content screening result. This value cannot be null.

Attributes

Remarks

Android reference for android.app.privatecompute.PccEgressException.PccEgressException.

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