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, writeToXml
public 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 ComplexProperty
writer
- the writerXMLStreamException
- the XML stream exceptionServiceXmlSerializationException
protected void internalValidate() throws Exception
internalValidate
in class ComplexProperty
Exception
- the exceptionpublic String getXmlElementName()
getXmlElementName
in class RuleOperation
Copyright © 2012–2015 Microsoft. All rights reserved.