The TryResolveSecurityKey and ResolveSecurityKey methods differ in what happens when the key identifier clause cannot be resolved to a key. The TryResolveSecurityKey method returns false, whereas the ResolveSecurityKey method throws an exception.