Share via


WeightedAllocationWorkerSelectorAttachment.IPersistableModel<WeightedAllocationWorkerSelectorAttachment>.Write Method

Definition

Writes the model into a BinaryData.

BinaryData IPersistableModel<WeightedAllocationWorkerSelectorAttachment>.Write (System.ClientModel.Primitives.ModelReaderWriterOptions options);
abstract member System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.WeightedAllocationWorkerSelectorAttachment>.Write : System.ClientModel.Primitives.ModelReaderWriterOptions -> BinaryData
override this.System.ClientModel.Primitives.IPersistableModel<Azure.Communication.JobRouter.WeightedAllocationWorkerSelectorAttachment>.Write : System.ClientModel.Primitives.ModelReaderWriterOptions -> BinaryData
Function Write (options As ModelReaderWriterOptions) As BinaryData Implements IPersistableModel(Of WeightedAllocationWorkerSelectorAttachment).Write

Parameters

Returns

A binary representation of the written model.

Implements

Exceptions

If the model does not support the requested Format.

Applies to