noobmaster007
noobmaster007

Reputation: 163

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?

Upvotes: 0

Views: 76

Answers (2)

Dijkgraaf
Dijkgraaf

Reputation: 11527

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

Upvotes: 1

DTRT
DTRT

Reputation: 11040

MaxInt is 2,147,483,647. So, there's your value.

Upvotes: 1

Related Questions