Admin Production rocket
Current Publication

VBAReferenceNotInTrustedLocationException Constructor(String,Exception)

Reflection Desktop .NET API Guide V17.0
Rocket® Reflection Desktop (formerly a product of Micro Focus or formerly a product of Open Text) documentation that was created prior to Rocket Software's acquisition of certain products from OpenText may contain outdated references to "Micro Focus” or “OpenText”, which are trademarks of OpenText. Rocket Software is not affiliated with Micro Focus or OpenText and has rebranded these products as Rocket® products.
The error message that explains the reason for the exception.
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
VBAReferenceNotInTrustedLocationException Constructor(String,Exception)
In This Topic
Initializes a new instance of the VBAReferenceNotInTrustedLocationException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Syntax

                     
                     
'Declaration
 

                     
                     
Public Function New( _
   ByVal message As String, _
   ByVal inner As Exception _
)

                  

                     
                     
'Usage
 

                     
                     
Dim message As String
Dim inner As Exception
 
Dim instance As New VBAReferenceNotInTrustedLocationException(message, inner)

                  

                     
                     
public VBAReferenceNotInTrustedLocationException( 
   string message,
   Exception inner
)

                  

Parameters

message
The error message that explains the reason for the exception.
inner
The exception that is the cause of the current exception, or a null reference (Nothing in Visual Basic) if no inner exception is specified.
See Also