To access InArgument values within a custom activity's Execute method in WF 4.0, you have two correct approaches: either use context.GetValue(inArgument) or call inArgument.Get(context). Both methods require the ActivityContext parameter to resolve the argument's value at runtime. Simply referencing the argument by name or calling Get() without context will not work.