FreeNamedDataSlot() public method

public FreeNamedDataSlot ( String name ) : void
name String
return void
        public static void LogicalSetData(String name, Object data)
        {
            IllogicalCallContext ilcc = Thread.CurrentThread.GetIllogicalCallContext();

            ilcc.FreeNamedDataSlot(name);
            LogicalCallContext lcc = Thread.CurrentThread.GetLogicalCallContext();

            lcc.SetData(name, data);
        }
 /// <include file='doc\CallContext.uex' path='docs/doc[@for="CallContext.SetData"]/*' />
 public static void SetData(String name, Object data)
 {
     if (data is ILogicalThreadAffinative)
     {
         IllogicalCallContext ilcc = Thread.CurrentThread.GetIllogicalCallContext();
         ilcc.FreeNamedDataSlot(name);
         LogicalCallContext lcc = Thread.CurrentThread.GetLogicalCallContext();
         lcc.SetData(name, data);
     }
     else
     {
         LogicalCallContext lcc = Thread.CurrentThread.GetLogicalCallContext();
         lcc.FreeNamedDataSlot(name);
         IllogicalCallContext ilcc = Thread.CurrentThread.GetIllogicalCallContext();
         ilcc.SetData(name, data);
     }
 }