←Select platform

ScreenCaptureException Constructor(string,ScreenCaptureExceptionCode)

Summary

Initializes a new instance of the ScreenCaptureException class with its Message string set to message, its Code set to code and its inner exception set to a null reference (Nothing in VB).

Syntax

C#
VB
C++
  
Public Function New( _ 
   ByVal message As String, _ 
   ByVal code As Leadtools.Screencapture.ScreenCaptureExceptionCode _ 
) 
public: 
ScreenCaptureException(  
   String^ message, 
   Leadtools.Screencapture.ScreenCaptureExceptionCode code 
) 

Parameters

message
A System.String that describes the error. The content of message is intended to be understood by humans. The caller of this constructor is required to ensure that this string has been localized.

code
A Code that specifies what caused this exception.

Example

For an example, refer to ScreenCaptureException.

Requirements

Target Platforms

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

Leadtools.ScreenCapture Assembly