Search
Preparing search index...
The search index is not available
Ews JavaScript Api
Options
All
Public
Public/Protected
All
Inherited
Only exported
Menu
Globals
Core/Requests/DeleteRequest
DeleteRequest
Class DeleteRequest<TResponse>
Type parameters
TResponse
:
ServiceResponse
Hierarchy
MultiResponseServiceRequest
<
TResponse
>
DeleteRequest
DeleteItemRequest
DeleteFolderRequest
EmptyFolderRequest
Index
Constructors
constructor
Properties
Anchor
Mailbox
Soap
Fault
Details
delete
Mode
Accessors
Delete
Mode
Emit
Time
Zone
Header
Error
Handling
Mode
Service
Methods
Add
Headers
Build
Response
Object
From
Json
BuildXHR
Create
Service
Response
Emit
Request
Execute
Get
Ews
Http
Web
Response
Get
Expected
Response
Message
Count
Get
Minimum
Required
Server
Version
Get
Requested
Service
Version
String
Get
Response
Message
Xml
Element
Name
Get
Response
Xml
Element
Name
Get
Xml
Element
Name
Internal
Execute
Internal
ToJson
Parse
Response
Parse
ResponseXMLJs
Object
Process
Web
Exception
Read
Response
Json
Read
Response
Xml
JsObject
Read
Soap
Fault
Read
Soap
Header
Throw
IfNot
Supported
ByRequested
Server
Version
Validate
Validate
And
Emit
Request
Web
Request
Async
Callback
Write
Attributes
ToXml
Write
Body
ToXml
Write
Elements
ToXml
Write
ToXml
Constructors
constructor
new
Delete
Request
(
service
:
ExchangeService
, errorHandlingMode
:
ServiceErrorHandling
)
:
DeleteRequest
Parameters
service:
ExchangeService
errorHandlingMode:
ServiceErrorHandling
Returns
DeleteRequest
Properties
Anchor
Mailbox
Anchor
Mailbox
:
string
Soap
Fault
Details
Soap
Fault
Details
:
SoapFaultDetails
Private
delete
Mode
delete
Mode
:
DeleteMode
Accessors
Delete
Mode
get
DeleteMode
(
)
:
DeleteMode
set
DeleteMode
(
value
:
DeleteMode
)
:
void
Returns
DeleteMode
Parameters
value:
DeleteMode
Returns
void
Emit
Time
Zone
Header
get
EmitTimeZoneHeader
(
)
:
boolean
Returns
boolean
Error
Handling
Mode
get
ErrorHandlingMode
(
)
:
ServiceErrorHandling
Returns
ServiceErrorHandling
Service
get
Service
(
)
:
ExchangeService
Returns
ExchangeService
Methods
Add
Headers
Add
Headers
(
webHeaderCollection
:
any
)
:
void
Parameters
webHeaderCollection:
any
Returns
void
Build
Response
Object
From
Json
Build
Response
Object
From
Json
(
jsObject
:
any
)
:
any
Parameters
jsObject:
any
Returns
any
BuildXHR
BuildXHR
(
)
:
IXHROptions
Returns
IXHROptions
Create
Service
Response
Create
Service
Response
(
service
:
ExchangeService
, responseIndex
:
number
)
:
TResponse
Parameters
service:
ExchangeService
responseIndex:
number
Returns
TResponse
Emit
Request
Emit
Request
(
request
:
IXHROptions
)
:
void
Parameters
request:
IXHROptions
Returns
void
Execute
Execute
(
)
:
IPromise
<
ServiceResponseCollection
<
TResponse
>
>
Returns
IPromise
<
ServiceResponseCollection
<
TResponse
>
>
Get
Ews
Http
Web
Response
Get
Ews
Http
Web
Response
(
request
:
IXHROptions
)
:
IPromise
<
XMLHttpRequest
>
Parameters
request:
IXHROptions
Returns
IPromise
<
XMLHttpRequest
>
Get
Expected
Response
Message
Count
Get
Expected
Response
Message
Count
(
)
:
number
Returns
number
Get
Minimum
Required
Server
Version
Get
Minimum
Required
Server
Version
(
)
:
ExchangeVersion
Returns
ExchangeVersion
Get
Requested
Service
Version
String
Get
Requested
Service
Version
String
(
)
:
string
Returns
string
Get
Response
Message
Xml
Element
Name
Get
Response
Message
Xml
Element
Name
(
)
:
string
Returns
string
Get
Response
Xml
Element
Name
Get
Response
Xml
Element
Name
(
)
:
string
Returns
string
Get
Xml
Element
Name
Get
Xml
Element
Name
(
)
:
string
Returns
string
Internal
Execute
Internal
Execute
(
)
:
IPromise
<
any
>
Returns
IPromise
<
any
>
Internal
ToJson
Internal
ToJson
(
body
:
any
)
:
any
Parameters
body:
any
Returns
any
Parse
Response
Parse
Response
(
jsonBody
:
any
)
:
any
Parameters
jsonBody:
any
Returns
any
Parse
ResponseXMLJs
Object
Parse
ResponseXMLJs
Object
(
jsObject
:
any
)
:
any
Parameters
jsObject:
any
Returns
any
Protected
Process
Web
Exception
Process
Web
Exception
(
webException
:
XMLHttpRequest
)
:
void
Parameters
webException:
XMLHttpRequest
Returns
void
Read
Response
Json
Read
Response
Json
(
jsObject
:
any
)
:
any
Parameters
jsObject:
any
Returns
any
Protected
Read
Response
Xml
JsObject
Read
Response
Xml
JsObject
(
jsObject
:
any
)
:
any
Parameters
jsObject:
any
Returns
any
Read
Soap
Fault
Read
Soap
Fault
(
reader
:
EwsServiceXmlReader
)
:
SoapFaultDetails
Parameters
reader:
EwsServiceXmlReader
Returns
SoapFaultDetails
Read
Soap
Header
Read
Soap
Header
(
jsObject
:
any
)
:
any
Parameters
jsObject:
any
Returns
any
Throw
IfNot
Supported
ByRequested
Server
Version
Throw
IfNot
Supported
ByRequested
Server
Version
(
)
:
void
Returns
void
Validate
Validate
(
)
:
void
Returns
void
Validate
And
Emit
Request
Validate
And
Emit
Request
(
request
:
IXHROptions
)
:
IPromise
<
XMLHttpRequest
>
Parameters
request:
IXHROptions
Returns
IPromise
<
XMLHttpRequest
>
Web
Request
Async
Callback
Web
Request
Async
Callback
(
webAsyncResult
:
any
)
:
any
Parameters
webAsyncResult:
any
Returns
any
Write
Attributes
ToXml
Write
Attributes
ToXml
(
writer
:
EwsServiceXmlWriter
)
:
void
Parameters
writer:
EwsServiceXmlWriter
Returns
void
Write
Body
ToXml
Write
Body
ToXml
(
writer
:
EwsServiceXmlWriter
)
:
void
Parameters
writer:
EwsServiceXmlWriter
Returns
void
Write
Elements
ToXml
Write
Elements
ToXml
(
writer
:
EwsServiceXmlWriter
)
:
any
Parameters
writer:
EwsServiceXmlWriter
Returns
any
Write
ToXml
Write
ToXml
(
writer
:
EwsServiceXmlWriter
)
:
void
Parameters
writer:
EwsServiceXmlWriter
Returns
void
Globals
Core/
Requests/
Delete
Request
Delete
Request
constructor
Anchor
Mailbox
Soap
Fault
Details
delete
Mode
Delete
Mode
Emit
Time
Zone
Header
Error
Handling
Mode
Service
Add
Headers
Build
Response
Object
From
Json
BuildXHR
Create
Service
Response
Emit
Request
Execute
Get
Ews
Http
Web
Response
Get
Expected
Response
Message
Count
Get
Minimum
Required
Server
Version
Get
Requested
Service
Version
String
Get
Response
Message
Xml
Element
Name
Get
Response
Xml
Element
Name
Get
Xml
Element
Name
Internal
Execute
Internal
ToJson
Parse
Response
Parse
ResponseXMLJs
Object
Process
Web
Exception
Read
Response
Json
Read
Response
Xml
JsObject
Read
Soap
Fault
Read
Soap
Header
Throw
IfNot
Supported
ByRequested
Server
Version
Validate
Validate
And
Emit
Request
Web
Request
Async
Callback
Write
Attributes
ToXml
Write
Body
ToXml
Write
Elements
ToXml
Write
ToXml
Generated using
TypeDoc