public ITopicClient EndCreateTopic(IAsyncResult result) { Func <TopicClient> creator = (Func <TopicClient>)result.AsyncState; return(TryCreateEntity(() => TopicClient.EndCreateTopic(result), creator)); }