Click or drag to resize

ExceptionManagerUpdateProperties Method

Saves the exception properties to the case.

Namespace:  Law.EdaIntegration.Exceptions
Assembly:  Law.EdaIntegration (in Law.EdaIntegration.dll) Version: 7.2
Syntax
C#
public void UpdateProperties()
Remarks
Modifications to the properties are not saved to the case until UpdateProperties is called.
Examples
The following example demonstrates updating the properties for a case.
C#
using Law.EdaIntegration;
using Law.EdaIntegration.Case;
using Law.EdaIntegration.Exceptions;

class Sample
{
    public static void Main()
    {
        string connectionString = @"Data Source=localhost;Initial Catalog=EDA_Management;Integrated Security=False;User ID=myUserId;Password=myPassword";
        EdaIntegration edaIntegration = new EdaIntegration();
        edaIntegration.InitializeEnvironment(connectionString);

        Case edaCase = edaIntegration.Cases.OpenCaseByName("Case 1");

        // Turn off conditional exceptions
        edaCase.Exceptions.Properties.ExceptionsForConditionalAnalysis = false;            

        // Save the changes to the case
        edaCase.Exceptions.UpdateProperties();
    }
}
See Also