 | MailboxesLookup Method |
Returns a
MailboxType as specified in configuration, based on the id, or if not defined null.
Namespace:
Akka.Dispatch
Assembly:
Akka (in Akka.dll) Version: 1.2.3.42 (1.2.3.42)
Syntaxpublic MailboxType Lookup(
string id
)
member Lookup :
id : string -> MailboxType
Parameters
- id
- Type: SystemString
The ID of the mailbox to lookup
Return Value
Type:
MailboxTypeThe
MailboxType specified in configuration or if not defined null.
ExceptionsException | Condition |
---|
ConfigurationException |
This exception is thrown if the mailbox type is not configured or the system could not load or find the type specified.
|
ArgumentException |
This exception is thrown if the mailbox type could not be instantiated.
|
See Also