TryExpression.Handlers 属性

定义

获取与 try 块关联的 CatchBlock 表达式的集合。

public:
 property System::Collections::ObjectModel::ReadOnlyCollection<System::Linq::Expressions::CatchBlock ^> ^ Handlers { System::Collections::ObjectModel::ReadOnlyCollection<System::Linq::Expressions::CatchBlock ^> ^ get(); };
public System.Collections.ObjectModel.ReadOnlyCollection<System.Linq.Expressions.CatchBlock> Handlers { get; }
member this.Handlers : System.Collections.ObjectModel.ReadOnlyCollection<System.Linq.Expressions.CatchBlock>
Public ReadOnly Property Handlers As ReadOnlyCollection(Of CatchBlock)

属性值

与 try 块关联的 CatchBlock 表达式的集合。

适用于