Dim ex As New Exception("Error message!")
ex.HResult = Int(10001981)
errors()
Partial Class exception
Inherits System.Exception
Dim hresult_holder
Public Overloads Property HRESULT As Integer
Get
Return hresult_holder
End Get
Set(value As Integer)
hresult_holder = value
End Set
End Property
End Class
Experts Exchange (EE) has become my company's go-to resource to get answers. I've used EE to make decisions, solve problems and even save customers. OutagesIO has been a challenging project and... Keep reading >>
Our community of experts have been thoroughly vetted for their expertise and industry experience.
The Distinguished Expert awards are presented to the top veteran and rookie experts to earn the most points in the top 50 topics.