public class SetRuleOperation extends RuleOperation
xmlElementName| Constructor and Description |
|---|
SetRuleOperation()
Initializes a new instance of the SetRuleOperation class.
|
SetRuleOperation(Rule rule)
Initializes a new instance of the SetRuleOperation class.
|
| Modifier and Type | Method and Description |
|---|---|
Rule |
getRule()
Gets the rule to be updated.
|
String |
getXmlElementName()
Gets the Xml element name of the SetRuleOperation object.
|
protected void |
internalValidate()
Validates this instance.
|
void |
setRule(Rule value)
Sets the rule to be updated.
|
boolean |
tryReadElementFromXml(EwsServiceXmlReader reader)
Tries to read element from XML.
|
void |
writeElementsToXml(EwsServiceXmlWriter writer)
Writes elements to XML.
|
addOnChangeEvent, canSetFieldValue, changed, clearChangeEvents, clearChangeLog, func, getNamespace, loadFromXml, loadFromXml, readAttributesFromXml, readTextValueFromXml, removeChangeEvent, setNamespace, tryReadElementFromXmlToPatch, updateFromXml, updateFromXml, validate, writeAttributesToXml, writeToXml, writeToXmlpublic SetRuleOperation()
public SetRuleOperation(Rule rule)
rule - The rule
The inbox rule to update.public boolean tryReadElementFromXml(EwsServiceXmlReader reader) throws Exception
tryReadElementFromXml in class ComplexPropertyreader - The readerException - the exceptionpublic void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml in class ComplexPropertywriter - The writer.Exception - the exceptionprotected void internalValidate() throws Exception
internalValidate in class ComplexPropertyExceptionpublic String getXmlElementName()
getXmlElementName in class RuleOperationCopyright © 2012–2015 Microsoft. All rights reserved.