Click or drag to resize
ServerCreateDefinitionLoadUserDataFromFile Method
Load the UserData from the specified file path.

Namespace: OpenStack.Compute.v2_1
Assembly: openstacknet (in openstacknet.dll) Version: 1.7.7+Branch.master.Sha.25d803f397c8693c2c13777ef6675f796f520f2c
Syntax
public void LoadUserDataFromFile(
	string path
)

Parameters

path
Type: SystemString
The user data file path.
Exceptions
ExceptionCondition
DirectoryNotFoundExceptionThe specified path is invalid (for example, it is on an unmapped drive).
IOExceptionAn I/O error occurred while opening the file.
UnauthorizedAccessExceptionThis operation is not supported on the current platform.-or- path specified a directory.-or- The caller does not have the required permission.
FileNotFoundExceptionThe file specified in path was not found.
SecurityExceptionThe caller does not have the required permission.
Version Information

.NET Framework

Supported in: 4.5

openstack.net

Supported in: 1.6
See Also