| Local Properties | Local Methods | |
Managed Object Types | Data Object Types | All Properties | All Methods |
A lease is in one of four states:
Properties
Name | Type | Description |
---|---|---|
error* | LocalizedMethodFault |
If the lease is in the error state, this property contains the
error that caused the lease to be aborted.
|
info* | HttpNfcLeaseInfo |
Provides information on the objects contained in this lease. The
info property is only valid when the lease is in the ready state.
|
initializeProgress | xsd:int |
Provides progress information (0-100 percent) for the initializing state
of the lease. Clients can use this to track overall progress.
|
state | HttpNfcLeaseState |
The current state of the lease.
|
Methods
Methods defined in this Managed Object |
---|
HttpNfcLeaseAbort, HttpNfcLeaseComplete, HttpNfcLeaseGetManifest, HttpNfcLeaseProgress |
Clients should call this method if an error occurs while accessing the disks, or if the operation is cancelled. The client can report the cause of the abort to other clients listening on the task with the fault parameter.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the HttpNfcLease used to make the method call. |
fault* | MethodFault |
[in] The fault that caused the abort, if any.
|
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
InvalidState | Thrown if the lease has already been aborted. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Timedout | Thrown if the lease has timed out before this call. |
Clients should call this method when they are done accessing the disks for the VirtualMachines in this lease. The status of the corresponding task will be set to success.
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the HttpNfcLease used to make the method call. |
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
InvalidState | Thrown if the lease has already been completed or aborted. |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Timedout | Thrown if the lease has timed out before this call. |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the HttpNfcLease used to make the method call. |
Return Value
Type | Description |
---|---|
HttpNfcLeaseManifestEntry[] |
Faults
Type | Description |
---|---|
InvalidState | |
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Timedout |
Parameters
Name | Type | Description |
---|---|---|
_this | ManagedObjectReference | A reference to the HttpNfcLease used to make the method call. |
percent | xsd:int |
[in] Completion status represented as an integer
in the 0-100 range.
|
Return Value
Type | Description |
---|---|
None |
Faults
Type | Description |
---|---|
RuntimeFault | Thrown if any type of runtime fault is thrown that is not covered by the other faults; for example, a communication error. |
Timedout | Thrown if the lease has timed out. |
Top of page | Local Properties | Local Methods | |
Managed Object Types | Data Object Types | All Properties | All Methods |