This will allow you to change the timeout, and then verify that it has been changed.
public int Timeout {get; set; }
[ ( = 30)]
TransactionAttribute_Timeout: ServicedComponent
{ public void TimeoutExample() { // TransactionAttribute, . TransactionAttribute = (TransactionAttribute) Attribute.GetCustomAttribute( this.GetType(), TypeOf (TransactionAttribute), );
Console.WriteLine("TransactionAttribute.Timeout: {0}",
attribute.Timeout);
attribute.Timeout = 60;
Console.WriteLine("TransactionAttribute.Timeout: {0}",
attribute.Timeout);
}
}