Parameters
- aliasName
- The name of the alias.
Return Value
null
if the alias has not been found.null
if the alias has not been found.Exception | Description |
---|---|
System.ArgumentException | One of the arguments provided to a method is not valid. This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |
System.ArgumentNullException |
A This is a usage error, i.e. it will never occur (the exception will not be thrown) in a correctly written program. Your code should not catch this exception. |
Simply not finding the specified alias is not considered an error.