public class TryExpression extends Expression
.NET documentation at https://learn.microsoft.com/dotnet/api/System.Linq.Expressions.TryExpression
Powered by JCOBridge: more info at https://www.jcobridge.com
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
assemblyFullName
Fully assembly qualified name: System.Linq.Expressions, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a
|
static java.lang.String |
assemblyShortName
Assembly name: System.Linq.Expressions
|
static java.lang.String |
className
Qualified class name: System.Linq.Expressions.TryExpression
|
static JCType |
classType
The type managed from JCOBridge.
|
| Constructor and Description |
|---|
TryExpression() |
TryExpression(java.lang.Object instance)
Internal constructor.
|
| Modifier and Type | Method and Description |
|---|---|
static TryExpression |
cast(IJCOBridgeReflected from)
Try to cast the
IJCOBridgeReflected instance into TryExpression, a cast assert is made to check if types are compatible. |
Expression |
getBody()
Gets the value of the .NET property Body.
|
Expression |
getFault()
Gets the value of the .NET property Fault.
|
Expression |
getFinally()
Gets the value of the .NET property Finally.
|
ReadOnlyCollection_1 |
getHandlers()
Gets the value of the .NET property Handlers.
|
java.lang.String |
getJCOAssemblyName()
Returns the full name of the assembly of the .NET type.
|
java.lang.String |
getJCOClassName()
Returns the full name of the .NET type.
|
java.lang.Object |
getJCOInstance()
Returns the underlying object managed by the bridge.
|
java.lang.String |
getJCOObjectName()
Returns the name of the .NET type qualified with its assembly.
|
JCType |
getJCOType()
Returns the
JCType of the .NET type. |
void |
setJCOInstance(JCObject instance)
Sets the underlying object managed by the bridge.
|
TryExpression |
Update(Expression body,
IEnumerable_1 handlers,
Expression _finally,
Expression fault)
Invokes the .NET member Update.
|
Add, Add, AddAssign, AddAssign, AddAssign, AddAssignChecked, AddAssignChecked, AddAssignChecked, AddChecked, AddChecked, And, And, AndAlso, AndAlso, AndAssign, AndAssign, AndAssign, ArrayAccess, ArrayAccess, ArrayIndex, ArrayIndex, ArrayIndex, ArrayLength, Assign, Bind, Bind, Block, Block, Block, Block, Block, Block, Block, Block, Block, Block, Block, Block, Break, Break, Break, Break, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Call, Catch, Catch, Catch, Catch, ClearDebugInfo, Coalesce, Coalesce, Condition, Condition, Constant, Constant, Continue, Continue, Convert, Convert, ConvertChecked, ConvertChecked, DebugInfo, Decrement, Decrement, Default, Divide, Divide, DivideAssign, DivideAssign, DivideAssign, Dynamic, Dynamic, Dynamic, Dynamic, Dynamic, Dynamic, ElementInit, ElementInit, Empty, Equal, Equal, ExclusiveOr, ExclusiveOr, ExclusiveOrAssign, ExclusiveOrAssign, ExclusiveOrAssign, Field, Field, Field, GetActionType, getCanReduce, GetDelegateType, GetFuncType, getNodeType, getType, Goto, Goto, Goto, Goto, GreaterThan, GreaterThan, GreaterThanOrEqual, GreaterThanOrEqual, IfThen, IfThenElse, Increment, Increment, Invoke, Invoke, IsFalse, IsFalse, IsTrue, IsTrue, Label, Label, Label, Label, Label, Label, Lambda, Lambda, Lambda, Lambda, Lambda, Lambda, Lambda, Lambda, Lambda, Lambda, Lambda, Lambda, LeftShift, LeftShift, LeftShiftAssign, LeftShiftAssign, LeftShiftAssign, LessThan, LessThan, LessThanOrEqual, LessThanOrEqual, ListBind, ListBind, ListBind, ListBind, ListInit, ListInit, ListInit, ListInit, ListInit, Loop, Loop, Loop, MakeBinary, MakeBinary, MakeBinary, MakeCatchBlock, MakeDynamic, MakeDynamic, MakeDynamic, MakeDynamic, MakeDynamic, MakeDynamic, MakeGoto, MakeIndex, MakeMemberAccess, MakeTry, MakeUnary, MakeUnary, MemberBind, MemberBind, MemberBind, MemberBind, MemberInit, MemberInit, Modulo, Modulo, ModuloAssign, ModuloAssign, ModuloAssign, Multiply, Multiply, MultiplyAssign, MultiplyAssign, MultiplyAssign, MultiplyAssignChecked, MultiplyAssignChecked, MultiplyAssignChecked, MultiplyChecked, MultiplyChecked, Negate, Negate, NegateChecked, NegateChecked, New, New, New, New, New, New, NewArrayBounds, NewArrayBounds, NewArrayInit, NewArrayInit, Not, Not, NotEqual, NotEqual, OnesComplement, OnesComplement, Or, Or, OrAssign, OrAssign, OrAssign, OrElse, OrElse, Parameter, Parameter, PostDecrementAssign, PostDecrementAssign, PostIncrementAssign, PostIncrementAssign, Power, Power, PowerAssign, PowerAssign, PowerAssign, PreDecrementAssign, PreDecrementAssign, PreIncrementAssign, PreIncrementAssign, Property, Property, Property, Property, Property, Property, Property, PropertyOrField, Quote, Reduce, ReduceAndCheck, ReduceExtensions, ReferenceEqual, ReferenceNotEqual, Rethrow, Rethrow, Return, Return, Return, Return, RightShift, RightShift, RightShiftAssign, RightShiftAssign, RightShiftAssign, RuntimeVariables, RuntimeVariables, Subtract, Subtract, SubtractAssign, SubtractAssign, SubtractAssign, SubtractAssignChecked, SubtractAssignChecked, SubtractAssignChecked, SubtractChecked, SubtractChecked, Switch, Switch, Switch, Switch, Switch, Switch, SwitchCase, SwitchCase, SymbolDocument, SymbolDocument, SymbolDocument, SymbolDocument, Throw, Throw, TryCatch, TryCatchFinally, TryFault, TryFinally, TryGetActionType, TryGetFuncType, TypeAs, TypeEqual, TypeIs, UnaryPlus, UnaryPlus, Unbox, Variable, Variablepublic static final java.lang.String assemblyFullName
public static final java.lang.String assemblyShortName
public static final java.lang.String className
public TryExpression()
throws java.lang.Throwable
java.lang.Throwablepublic TryExpression(java.lang.Object instance)
throws java.lang.Throwable
instance - the underlying bridge object: it must be a JCObjectjava.lang.Throwable - if instance is not a JCObjectpublic static TryExpression cast(IJCOBridgeReflected from) throws java.lang.Throwable
IJCOBridgeReflected instance into TryExpression, a cast assert is made to check if types are compatible.from - IJCOBridgeReflected instance to be castedTryExpression instancejava.lang.Throwable - in case of error during cast operationpublic Expression getBody() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Expression getFault() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic Expression getFinally() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic ReadOnlyCollection_1 getHandlers() throws java.lang.Throwable
java.lang.Throwable - if the call fails in the bridge or in the CLRpublic java.lang.String getJCOAssemblyName()
NetObjectgetJCOAssemblyName in interface IJCOBridgeReflectedgetJCOAssemblyName in class Expressionpublic java.lang.String getJCOClassName()
NetObjectgetJCOClassName in interface IJCOBridgeReflectedgetJCOClassName in class Expressionpublic java.lang.Object getJCOInstance()
NetObjectgetJCOInstance in interface IJCOBridgeReflectedgetJCOInstance in class Expressionnull if there is nonepublic java.lang.String getJCOObjectName()
NetObjectgetJCOObjectName in interface IJCOBridgeReflectedgetJCOObjectName in class Expressionpublic JCType getJCOType()
NetObjectJCType of the .NET type.getJCOType in interface IJCOBridgeReflectedgetJCOType in class Expressionpublic void setJCOInstance(JCObject instance)
NetObjectsetJCOInstance in class Expressioninstance - the new underlying objectpublic TryExpression Update(Expression body, IEnumerable_1 handlers, Expression _finally, Expression fault) throws java.lang.Throwable, ArgumentNullException, PlatformNotSupportedException, IndexOutOfRangeException, RankException, ArgumentOutOfRangeException, ArgumentException, ArrayTypeMismatchException, ObjectDisposedException, InvalidOperationException, FormatException
body - the argument of type Expressionhandlers - the argument of type IEnumerable_1_finally - the argument of type Expressionfault - the argument of type Expressionjava.lang.Throwable - if the call fails in the bridge or in the CLRArgumentNullException - if the .NET member raises itPlatformNotSupportedException - if the .NET member raises itIndexOutOfRangeException - if the .NET member raises itRankException - if the .NET member raises itArgumentOutOfRangeException - if the .NET member raises itArgumentException - if the .NET member raises itArrayTypeMismatchException - if the .NET member raises itObjectDisposedException - if the .NET member raises itInvalidOperationException - if the .NET member raises itFormatException - if the .NET member raises it