|
VMware vSphere Automation SDK for .NET 6.5.0
|
The NotAllowedInCurrentState error indicates that the requested method is not allowed with a resource or service in its current state.
More...
Inherits vmware::vapi::std::errors::Error.
Public Member Functions | |
| NotAllowedInCurrentState (global::System.Collections.Generic.List< vmware.vapi.std.LocalizableMessage > messages, vmware.vapi.bindings.IStructure data) | |
| Creates a new instance of this type using the given arguments. | |
| NotAllowedInCurrentState () | |
| Creates a default new instance. | |
| override vmware.vapi.bindings.type.StructType | _GetType () |
| override vmware.vapi.data.StructValue | _GetDataValue () |
| override void | _Validate () |
| override bool | _HasTypeNameOf< T > () |
| override T | _ConvertTo< T > () |
| override bool | Equals (object obj) |
| override int | GetHashCode () |
Properties | |
| override string | Message [get] |
The NotAllowedInCurrentState error indicates that the requested method is not allowed with a resource or service in its current state.
This could be because the method is performing a configuration change that is not allowed in the current state or because method itself is not allowed in the current state.
Examples:
Counterexamples:
| vmware::vapi::std::errors::NotAllowedInCurrentState::NotAllowedInCurrentState | ( | global::System.Collections.Generic.List< vmware.vapi.std.LocalizableMessage > | messages, |
| vmware.vapi.bindings.IStructure | data | ||
| ) | [inline] |
Creates a new instance of this type using the given arguments.
| vmware::vapi::std::errors::NotAllowedInCurrentState::NotAllowedInCurrentState | ( | ) | [inline] |
Creates a default new instance.
| override T vmware::vapi::std::errors::NotAllowedInCurrentState::_ConvertTo< T > | ( | ) | [inline] |
Reimplemented from vmware::vapi::std::errors::Error.
| override vmware.vapi.data.StructValue vmware::vapi::std::errors::NotAllowedInCurrentState::_GetDataValue | ( | ) | [inline] |
Reimplemented from vmware::vapi::std::errors::Error.
| override vmware.vapi.bindings.type.StructType vmware::vapi::std::errors::NotAllowedInCurrentState::_GetType | ( | ) | [inline, virtual] |
Reimplemented from vmware::vapi::std::errors::Error.
| override bool vmware::vapi::std::errors::NotAllowedInCurrentState::_HasTypeNameOf< T > | ( | ) | [inline] |
Reimplemented from vmware::vapi::std::errors::Error.
| override void vmware::vapi::std::errors::NotAllowedInCurrentState::_Validate | ( | ) | [inline, virtual] |
Reimplemented from vmware::vapi::std::errors::Error.
| override bool vmware::vapi::std::errors::NotAllowedInCurrentState::Equals | ( | object | obj | ) | [inline] |
Reimplemented from vmware::vapi::std::errors::Error.
| override int vmware::vapi::std::errors::NotAllowedInCurrentState::GetHashCode | ( | ) | [inline] |
Reimplemented from vmware::vapi::std::errors::Error.
override string vmware::vapi::std::errors::NotAllowedInCurrentState::Message [get] |
Reimplemented from vmware::vapi::std::errors::Error.