How to call InvalidOperationException()

How to call InvalidOperationException()

ngdnam88
Advocate Advocate
235 Views
2 Replies
Message 1 of 3

How to call InvalidOperationException()

ngdnam88
Advocate
Advocate

Dears,

Could you help me how to call this box with API?

ngnam1988_0-1705998739039.png

I'm trying with this code, but didn't get the result.

Throw New InvalidOperationException("")

 Thanks!

0 Likes
Accepted solutions (1)
236 Views
2 Replies
Replies (2)
Message 2 of 3

JelteDeJong
Mentor
Mentor
Accepted solution

try this:

Dim errorManager = ThisApplication.ErrorManager
errorManager.AddMessage("message here", True)
errorManager.Show("Your title here", False, False)

Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature


Blog: hjalte.nl - github.com

0 Likes
Message 3 of 3

ngdnam88
Advocate
Advocate

Thanks @JelteDeJong 
I got it!

0 Likes