Share via


TryExpression.Update Yöntem

Tanım

Bunun gibi, ancak sağlanan alt öğeleri kullanarak yeni bir ifade oluşturur. Tüm alt öğeler aynıysa bu ifadeyi döndürür.

public:
 System::Linq::Expressions::TryExpression ^ Update(System::Linq::Expressions::Expression ^ body, System::Collections::Generic::IEnumerable<System::Linq::Expressions::CatchBlock ^> ^ handlers, System::Linq::Expressions::Expression ^ finally, System::Linq::Expressions::Expression ^ fault);
public System.Linq.Expressions.TryExpression Update (System.Linq.Expressions.Expression body, System.Collections.Generic.IEnumerable<System.Linq.Expressions.CatchBlock> handlers, System.Linq.Expressions.Expression finally, System.Linq.Expressions.Expression fault);
public System.Linq.Expressions.TryExpression Update (System.Linq.Expressions.Expression body, System.Collections.Generic.IEnumerable<System.Linq.Expressions.CatchBlock>? handlers, System.Linq.Expressions.Expression? finally, System.Linq.Expressions.Expression? fault);
member this.Update : System.Linq.Expressions.Expression * seq<System.Linq.Expressions.CatchBlock> * System.Linq.Expressions.Expression * System.Linq.Expressions.Expression -> System.Linq.Expressions.TryExpression
Public Function Update (body As Expression, handlers As IEnumerable(Of CatchBlock), finally As Expression, fault As Expression) As TryExpression

Parametreler

body
Expression

Sonucun Body özelliği.

handlers
IEnumerable<CatchBlock>

Sonucun Handlers özelliği.

finally
Expression

Sonucun Finally özelliği.

fault
Expression

Sonucun Fault özelliği.

Döndürülenler

Hiçbir alt öğe değiştirilmediyse bu ifade veya güncelleştirilmiş alt öğeleri içeren bir ifade.

Şunlara uygulanır