←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 19.0.2017.10.27
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Controls.WinForms Assembly