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, writeToXml
public CreateRuleOperation()
public CreateRuleOperation(Rule rule)
rule
- The inbox rule to create.public void writeElementsToXml(EwsServiceXmlWriter writer) throws Exception
writeElementsToXml
in class ComplexProperty
writer
- The writer.Exception
protected void internalValidate() throws Exception
internalValidate
in class ComplexProperty
Exception
public String getXmlElementName()
getXmlElementName
in class RuleOperation
Copyright © 2012–2015 Microsoft. All rights reserved.