←Select platform

Create Method

Summary

Creates a new instance of ImageViewerItemErrorEventArgs with the specified values.

Syntax
C#
VB
C++
Public Shared Function Create( 
   ByVal item As ImageViewerItem, 
   ByVal reason As ImageViewerItemChangedReason, 
   ByVal data As Object, 
   ByVal error As System.Exception 
) As ImageViewerItemErrorEventArgs 
public:  
   static ImageViewerItemErrorEventArgs^ Create( 
      ImageViewerItem^ item, 
      ImageViewerItemChangedReason^ reason, 
      Object^ data, 
      System::Exception^ error 
   ) 

Parameters

item

The item that caused an error. Could be null.

reason

Reason why the error occurred.

data

Generic data associated with this error.

error

Any errors that was caught by the viewer.

Return Value

The created object.

Requirements
Target Platforms
Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.