public final class DeleteRuleOperation extends RuleOperation
xmlElementName| Constructor and Description |
|---|
DeleteRuleOperation()
Initializes a new instance of the
|
DeleteRuleOperation(String ruleId)
Initializes a new instance of the
|
| Modifier and Type | Method and Description |
|---|---|
String |
getRuleId()
Gets or sets the Id of the rule to delete.
|
String |
getXmlElementName()
Gets the Xml element name of the DeleteRuleOperation object.
|
protected void |
internalValidate()
Validates this instance.
|
void |
setRuleId(String value) |
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXml, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXmlpublic DeleteRuleOperation()
public DeleteRuleOperation(String ruleId)
ruleId - The Id of the inbox rule to delete.public void writeElementsToXml(EwsServiceXmlWriter writer) throws ServiceXmlSerializationException, XMLStreamException
writeElementsToXml in class ComplexPropertywriter - the writerXMLStreamException - the XML stream exceptionServiceXmlSerializationExceptionprotected void internalValidate() throws Exception
internalValidate in class ComplexPropertyException - the exceptionpublic String getXmlElementName()
getXmlElementName in class RuleOperationCopyright © 2012–2015 Microsoft. All rights reserved.