Exchange Web Services .NET Class Library
Exchange Web Services .NET Class Library
Exchange Web Services .NET
Independentsoft.Exchange
Service Class
Service Methods
MarkAsJunk Method
MarkAsJunk Method (ItemId)
MarkAsJunk Method (IList(ItemId))
MarkAsJunk Method (ItemId, Boolean)
MarkAsJunk Method (IList(ItemId), Boolean)
MarkAsJunk Method (ItemId, Boolean, Boolean)
MarkAsJunk Method (IList(ItemId), Boolean, Boolean)

# Service MarkAsJunk Method (IList ItemId , Boolean)

Marks as junk.

Namespace: Independentsoft.Exchange
Assembly: Independentsoft.Exchange (in Independentsoft.Exchange.dll) Version: 3.0.840.11238
Syntax
C#
VB
Copy

    public IList<MarkAsJunkResponse> MarkAsJunk(
    	IList<ItemId> itemIds,
    	bool isJunk
    )

    Public Function MarkAsJunk (
    	itemIds As IList(Of ItemId),
    	isJunk As Boolean
    ) As IList(Of MarkAsJunkResponse)

#### Parameters

itemIds
  Type: System.Collections.Generic
  IList
  ItemId
  The item ids.
isJunk
  Type: System
  Boolean
  if set to true [is junk].

#### Return Value

Type: IList
MarkAsJunkResponse
IList{MarkAsJunkResponse}.
See Also

#### Reference

Service Class
MarkAsJunk Overload
Independentsoft.Exchange Namespace

Copyright 2025 Independentsoft

Send comments on this topic to support@independentsoft.de