←Select platform

FromHResult Method

Summary

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

Syntax

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

Parameters

hresult
A valid LEADTOOLS error code used to create a DicomException.

Return Value

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

Leadtools.Dicom Assembly