TryExpression Properties
Collapse the table of content
Expand the table of content

TryExpression Properties

[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]

The TryExpression type exposes the following members.

  NameDescription
Public property Body Gets the Expression representing the body of the try block.
Public property CanReduce Indicates that the node can be reduced to a simpler node. If this returns true, Reduce() can be called to produce the reduced form. (Inherited from Expression.)
Public property Fault Gets the Expression representing the fault block.
Public property Finally Gets the Expression representing the finally block.
Public property Handlers Gets the collection of CatchBlock expressions associated with the try block.
Public property NodeType Returns the node type of this Expression. (Overrides Expression.NodeType.)
Public property Type Gets the static type of the expression that this Expression represents. (Overrides Expression.Type.)
Top

Show:
© 2017 Microsoft