你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Utilities Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Class to define Utility methods
public static class Utilities
type Utilities = class
Public Class Utilities
- Inheritance
-
Utilities
Methods
Deserialize<T>(String) |
Deserialize the xml as T |
GenerateRandomKey(Int32) |
Generate cryptographically random key of given bit size. |
GetDefaultPath() |
method to return the Downloads path for the current user. |
GetPagedList<T>(Func<IPage<T>>, Func<String,IPage<T>>) | |
GetResourceProviderNamespaceAndType(String, String, String) | |
GetValueFromArmId(String, String) |
Get Value from ARM ID |
Serialize<T>(T) |
Serialize the T as xml using DataContract Serializer |
UpdateCurrentVaultContext(ARSVault) |
Updates current Vault context. |
UpdateCurrentVaultContext(ASRVaultCreds) |
Updates current Vault context. |
WriteToFile<T>(T, String, String) |
Method to write content to a file. |