コード例 #1
0
        Address RequestorProvidedCallbackAddress(SendOptions sendOptions)
        {
            string callbackAddress;

            if (IsReply(sendOptions) && context.TryGet(CallbackHeaderKey, out callbackAddress))
            {
                return(Address.Parse(callbackAddress));
            }
            return(null);
        }
コード例 #2
0
 public bool TryGetCallbackAddress(out Address callbackAddress)
 {
     return(behaviorContext.TryGet(SqlServerCallbackAddressContextKey, out callbackAddress));
 }