November Happy Hour will be moved to Thursday December 5th.

Class NotSupportedProcessor

An implementation of RequestItemProcessor that will always fail and reply NotSupported.

Inheritance
System.Object
NotSupportedProcessor
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Mediachase.Commerce.InventoryService.BusinessLogic
Assembly: Mediachase.Commerce.dll
Version: 13.30.0
Syntax
public class NotSupportedProcessor : RequestItemProcessor

Constructors

NotSupportedProcessor(InventoryRequestItem)

Creates a new instance of NotSupportedProcessor.

Declaration
public NotSupportedProcessor(InventoryRequestItem requestItem)
Parameters
Type Name Description
InventoryRequestItem requestItem

The request item to process.

Methods

Apply()

Does nothing. The request item will always fail.

Declaration
public override void Apply()
Overrides

GetResponseItems(Boolean)

Returns the final InventoryResponseItem instances for the item (typically, only one unless the operation is a split). CreateDefaultResponseItem(InventoryRequestItem, Boolean, RecordState, String, InventoryResponseType, InventoryResponseTypeInfo) can be used to generate response items in most cases.

Declaration
public override InventoryResponseItem[] GetResponseItems(bool isOverallSuccess)
Parameters
Type Name Description
System.Boolean isOverallSuccess

True if all items wer successful, false if any item returned false from Validate().

Returns
Type Description
InventoryResponseItem[]
Overrides

Validate()

Returns false. The request item will always fail.

Declaration
public override bool Validate()
Returns
Type Description
System.Boolean

False.

Overrides