Class RecognitionAbortedException

Class RecognitionAbortedException

Namespace: Aspose.BarCode.BarCodeRecognition
Assembly: Aspose.BarCode.dll (25.1.0)

Đại diện cho ngoại lệ hủy bỏ nhận diện được ném ra khi thời gian chờ vượt quá trong quá trình nhận diện với BarCodeReader.

public class RecognitionAbortedException : BarCodeRecognitionException, ISerializable

Kế thừa

objectExceptionBarCodeRecognitionExceptionRecognitionAbortedException

Triển khai

ISerializable

Các thành viên kế thừa

Exception.GetBaseException(), Exception.ToString(), Exception.GetType(), Exception.TargetSite, Exception.Message, Exception.Data, Exception.InnerException, Exception.HelpLink, Exception.Source, Exception.HResult, Exception.StackTrace, Exception.SerializeObjectState, object.GetType(), object.MemberwiseClone(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()

Các hàm khởi tạo

RecognitionAbortedException()

Khởi tạo một thể hiện mới của lớp Aspose.BarCode.BarCodeRecognition.RecognitionAbortedException với thông điệp hủy bỏ nhận diện đã chỉ định.

public RecognitionAbortedException()

RecognitionAbortedException(int)

Khởi tạo một thể hiện mới của lớp Aspose.BarCode.BarCodeRecognition.RecognitionAbortedException với thông điệp hủy bỏ nhận diện đã chỉ định.

public RecognitionAbortedException(int executionTime)

Tham số

executionTime int

Thời gian thực hiện của phiên nhận diện hiện tại.

RecognitionAbortedException(string, int)

Khởi tạo một thể hiện mới của lớp Aspose.BarCode.BarCodeRecognition.RecognitionAbortedException với thông điệp hủy bỏ nhận diện đã chỉ định.

public RecognitionAbortedException(string message, int executionTime)

Tham số

message string

Thông điệp lỗi của ngoại lệ.

executionTime int

Thời gian thực hiện của phiên nhận diện hiện tại.

RecognitionAbortedException(SerializationInfo, StreamingContext)

Khởi tạo một thể hiện mới của lớp Aspose.BarCode.BarCodeRecognition.RecognitionAbortedException với thông điệp hủy bỏ nhận diện đã chỉ định.

protected RecognitionAbortedException(SerializationInfo info, StreamingContext context)

Tham số

info SerializationInfo

Chứa dữ liệu đối tượng đã tuần tự hóa về ngoại lệ đang được ném ra.

context StreamingContext

Chứa thông tin ngữ cảnh về nguồn hoặc đích.

Các thuộc tính

ExecutionTime

Lấy thời gian thực hiện của phiên nhận diện hiện tại.

public int ExecutionTime { get; set; }

Giá trị thuộc tính

int

Các phương thức

GetObjectData(SerializationInfo, StreamingContext)

Khi được ghi đè trong một lớp kế thừa, thiết lập SerializationInfo với thông tin về ngoại lệ.

public override void GetObjectData(SerializationInfo info, StreamingContext context)

Tham số

info SerializationInfo

Chứa dữ liệu đối tượng đã tuần tự hóa về ngoại lệ đang được ném ra.

context StreamingContext

Chứa thông tin ngữ cảnh về nguồn hoặc đích.

 Tiếng Việt