Click or drag to resize
Akka.NETConfigGetInt Method
Retrieves an integer value from the specified path in the configuration.

Namespace:  Akka.Configuration
Assembly:  Akka (in Akka.dll) Version: 1.2.3.129 (1.2.3.129)
Syntax
public virtual int GetInt(
	string path,
	int default = 0
)

Parameters

path
Type: SystemString
The path that contains the value to retrieve.
default (Optional)
Type: SystemInt32
The default value to return if the value doesn't exist.

Return Value

Type: Int32
The integer value defined in the specified path.
Exceptions
ExceptionCondition
InvalidOperationExceptionThis exception is thrown if the current node is undefined.
See Also