Esri hasn't implemented everything in 4.0beta yet. If they don't have it documented (as appears to be the case with ArcGISDynamicMapServiceLayer), then it hasn't been implemented yet.
Then how I can use it?
You'll have to wait until a newer version of the beta comes out with the ArcGISDynamicMapServiceLayer implemented.
thank you....I appreciate your help.
Retrieving data ...