Search code examples
c#configurationbiztalkbiztalk-2010

BizTalk Config: A way to set integer infinity as an appSettings value?


I need to read the expirationTime for a Dictionary off the BizTalk configuration. Is there a way to set an appSettings value for a particular key to integer infinity, or the maximum integer? The value is taken inside the C# implementation with the conventional use of ConfigurationManager.GetAppSettings("expirationTime");. Help, please?


Solution

  • Quite often if you have an integer limit value, setting it to zero denotes that there is no limit.