←Select platform

FromHResult Method

Summary

Creates a RasterException object from the specified HRESULT value, if the value is a valid LEADTOOLS error code.

Syntax

C#
VB
WinRT C#
C++
public static Leadtools.RasterException FromHResult(  
   int hresult 
) 
Public Shared Function FromHResult( _ 
   ByVal hresult As Integer _ 
) As Leadtools.RasterException 
public static Leadtools.RasterException FromHResult(  
   int hresult 
) 
 function Leadtools.RasterException.FromHResult(  
   hresult  
) 
public: 
static Leadtools.RasterException^ FromHResult(  
   int hresult 
)  

Parameters

hresult
A int that represents a HRESULT value used to create a RasterException object.

Return Value

A new RasterException based on the specified LEADTOOLS HRESULT code, or null, if the value is not a valid LEADTOOLS error code.

Requirements

Target Platforms

Help Version 19.0.2017.10.19
Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly