Skip to content

Foundation sample code

This topic lists most common usage scenarios and patterns of foundation APIs.

Note

To keep the code succinct and easy to read, variable declaration and exception handling statements are only included when needed for completeness. Some examples reference method that generates a unique string value for an API parameter. Such method implementation is left out from the example and may be implemented by the developer. Imports are excluded as well.