Options
All
  • Public
  • Public/Protected
  • All
Menu

Class EwsUtilities

Hierarchy

  • EwsUtilities

Index

Properties

Methods

Properties

Static AutodiscoverSoapNamespace

AutodiscoverSoapNamespace: string

Static AutodiscoverSoapNamespacePrefix

AutodiscoverSoapNamespacePrefix: string

Static BuildVersion

BuildVersion: string

Static DomainRegex

DomainRegex: string

Static EwsErrorsNamespace

EwsErrorsNamespace: string

Static EwsErrorsNamespacePrefix

EwsErrorsNamespacePrefix: string

Static EwsMessagesNamespace

EwsMessagesNamespace: string

Static EwsMessagesNamespacePrefix

EwsMessagesNamespacePrefix: string

Static EwsSoap12Namespace

EwsSoap12Namespace: string

Static EwsSoapNamespace

EwsSoapNamespace: string

Static EwsSoapNamespacePrefix

EwsSoapNamespacePrefix: string

Static EwsTypesNamespace

EwsTypesNamespace: string

Static EwsTypesNamespacePrefix

EwsTypesNamespacePrefix: string

Static EwsXmlSchemaInstanceNamespace

EwsXmlSchemaInstanceNamespace: string

Static EwsXmlSchemaInstanceNamespacePrefix

EwsXmlSchemaInstanceNamespacePrefix: string

Static PassportSoapFaultNamespace

PassportSoapFaultNamespace: string

Static PassportSoapFaultNamespacePrefix

PassportSoapFaultNamespacePrefix: string

Static WSAddressingNamespace

WSAddressingNamespace: string

Static WSAddressingNamespacePrefix

WSAddressingNamespacePrefix: string

Static WSSecuritySecExtNamespace

WSSecuritySecExtNamespace: string

Static WSSecuritySecExtNamespacePrefix

WSSecuritySecExtNamespacePrefix: string

Static WSSecurityUtilityNamespace

WSSecurityUtilityNamespace: string

Static WSSecurityUtilityNamespacePrefix

WSSecurityUtilityNamespacePrefix: string

Static WSTrustFebruary2005Namespace

WSTrustFebruary2005Namespace: string

Static WSTrustFebruary2005NamespacePrefix

WSTrustFebruary2005NamespacePrefix: string

Static XSFalse

XSFalse: string

Static XSTrue

XSTrue: string

Static Private enumVersionDictionaries

Methods

Static BoolToXSBool

  • BoolToXSBool(value: boolean): string
  • Parameters

    • value: boolean

    Returns string

Static BuildEnumDict

Static BuildEnumToSchemaDict

Static BuildSchemaToEnumDict

Static ConvertTime

Static CountMatchingChars

  • CountMatchingChars(str: string, charPredicate: any): number
  • Parameters

    • str: string
    • charPredicate: any

    Returns number

Static CreateEwsObjectFromXmlElementName

  • CreateEwsObjectFromXmlElementName<TServiceObject>(service: ExchangeService, xmlElementName: string): TServiceObject
  • Type parameters

    Parameters

    Returns TServiceObject

Static CreateItemFromXmlElementName

  • CreateItemFromXmlElementName(itemAttachment: ItemAttachment, xmlElementName: string): Item
  • Parameters

    Returns Item

Static DateTimeToXSDate

  • DateTimeToXSDate(date: DateTime): string
  • Parameters

    Returns string

Static DateTimeToXSDateTime

  • DateTimeToXSDateTime(dateTime: DateTime): string
  • Parameters

    Returns string

Static DomainFromEmailAddress

  • DomainFromEmailAddress(emailAddress: string): string
  • Parameters

    • emailAddress: string

    Returns string

Static EwsToSystemDayOfWeek

  • Parameters

    Returns any

Static FindFirstItemOfType

  • FindFirstItemOfType<T>(items: Item[], type: any): T
  • Type parameters

    Parameters

    • items: Item[]
    • type: any

    Returns T

Static FormatHttpResponseHeaders

  • FormatHttpResponseHeaders(response: any): string
  • Parameters

    • response: any

    Returns string

Static FormatLogMessage

  • FormatLogMessage(entryKind: string, logEntry: string): string
  • Parameters

    • entryKind: string
    • logEntry: string

    Returns string

Static FormatLogMessageWithXmlContent

  • FormatLogMessageWithXmlContent(entryKind: string, memoryStream: any): string
  • Parameters

    • entryKind: string
    • memoryStream: any

    Returns string

Static GetDictionaryKeyTypeEnum

  • Parameters

    Returns any

Static GetEnumeratedObjectAt

  • GetEnumeratedObjectAt(objects: any, index: number): any
  • Parameters

    • objects: any
    • index: number

    Returns any

Static GetEnumeratedObjectCount

  • GetEnumeratedObjectCount(objects: any): number
  • Parameters

    • objects: any

    Returns number

Static Private GetExchangeVersionFromEnumDelegate

Static GetNamespaceFromUri

  • Parameters

    • namespaceUri: string

    Returns XmlNamespace

Static GetNamespacePrefix

  • Parameters

    Returns string

Static GetNamespaceUri

  • Parameters

    Returns string

Static GetPrintableTypeName

  • GetPrintableTypeName(type: any): string
  • Parameters

    • type: any

    Returns string

Static IsLocalTimeZone

  • Parameters

    Returns boolean

Static ParseAsUnbiasedDatetimescopedToServicetimeZone

Static ParseEnum

  • ParseEnum(value: string, ewsenum: any): any
  • Parameters

    • value: string
    • ewsenum: any

    Returns any

Static ParseEnumValueList

  • ParseEnumValueList<T>(list: any[], value: string, separators: string, enumType: any): void
  • Type parameters

    • T

    Parameters

    • list: any[]
    • value: string
    • separators: string
    • enumType: any

    Returns void

Static TimeSpanToXSDuration

  • TimeSpanToXSDuration(timeSpan: TimeSpan): string
  • Parameters

    Returns string

Static TimeSpanToXSTime

  • TimeSpanToXSTime(timeSpan: TimeSpan): string
  • Parameters

    Returns string

Static ValidateClassVersion

Static ValidateDomainNameAllowNull

  • ValidateDomainNameAllowNull(domainName: string, paramName: string): void
  • Parameters

    • domainName: string
    • paramName: string

    Returns void

Static ValidateEnumVersionValue

  • Validates the enum value against the request version.

    Parameters

    Returns void

Static ValidateMethodVersion

Static ValidateNonBlankStringParam

  • ValidateNonBlankStringParam(param: string, paramName: string): void
  • Validates string parameter to be non-empty string (null value not allowed).

    Parameters

    • param: string

      The string parameter.

    • paramName: string

      Name of the parameter.

    Returns void

Static ValidateNonBlankStringParamAllowNull

  • ValidateNonBlankStringParamAllowNull(param: string, paramName: string): void
  • Validates string parameter to be non-empty string (null value allowed).

    Parameters

    • param: string

      The string parameter.

    • paramName: string

      Name of the parameter.

    Returns void

Static ValidateParam

  • ValidateParam(param: any, paramName: string): void
  • Validates parameter (null value not allowed).

    Parameters

    • param: any

      The param.

    • paramName: string

      Name of the param.

    Returns void

Static ValidateParamAllowNull

  • ValidateParamAllowNull(param: any, paramName: string): void
  • Validates parameter (and allows null value).

    Parameters

    • param: any

      The param.

    • paramName: string

      Name of the param.

    Returns void

Static ValidateParamCollection

  • ValidateParamCollection(collection: any[], paramName: string): void
  • Validates parameter collection.

    Parameters

    • collection: any[]

      The collection.

    • paramName: string

      Name of the param.

    Returns void

Static ValidatePropertyVersion

  • Validates property version against the request version.

    Parameters

    • service: ExchangeService

      The Exchange service.

    • minimumServerVersion: ExchangeVersion

      The minimum server version that supports the property.

    • propertyName: string

      Name of the property.

    Returns void

Static ValidateServiceObjectVersion

Static XSDurationToTimeSpan

  • XSDurationToTimeSpan(xsDuration: string): TimeSpan
  • Parameters

    • xsDuration: string

    Returns TimeSpan

Static Private numPad

  • numPad(num: number, length: number): string
  • Parameters

    • num: number
    • length: number

    Returns string

Generated using TypeDoc