public final class CreateRuleOperation extends RuleOperation
xmlElementName| Constructor and Description |
|---|
CreateRuleOperation()
Initializes a new instance of the
|
CreateRuleOperation(Rule rule)
Initializes a new instance of the
|
| Modifier and Type | Method and Description |
|---|---|
Rule |
getRule()
Gets or sets the rule to be created.
|
String |
getXmlElementName()
Gets the Xml element name of the CreateRuleOperation object.
|
protected void |
internalValidate()
Validates this instance.
|
void |
setRule(Rule 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 CreateRuleOperation()
public CreateRuleOperation(Rule rule)
rule - The inbox rule to create.public void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml in class ComplexPropertywriter - The writer.Exceptionprotected void internalValidate() throws Exception
internalValidate in class ComplexPropertyExceptionpublic String getXmlElementName()
getXmlElementName in class RuleOperationCopyright © 2012–2015 Microsoft. All rights reserved.