Address RequestorProvidedCallbackAddress(SendOptions sendOptions) { string callbackAddress; if (IsReply(sendOptions) && context.TryGet(CallbackHeaderKey, out callbackAddress)) { return(Address.Parse(callbackAddress)); } return(null); }
public bool TryGetCallbackAddress(out Address callbackAddress) { return(behaviorContext.TryGet(SqlServerCallbackAddressContextKey, out callbackAddress)); }