OperationData Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
An OperationData is used to transfer copy state changes and copy context between replicas.
If AsMemoryManagedOperationData() returns a non-null value, this value must be interacted with instead of the OperationData object. Exposed this way to avoid disturbing the API surface.
public class OperationData : System.Collections.ObjectModel.Collection<ArraySegment<byte>>, System.Collections.Generic.IEnumerable<ArraySegment<byte>>, System.Fabric.IOperationData
type OperationData = class
inherit Collection<ArraySegment<byte>>
interface IOperationData
interface seq<ArraySegment<byte>>
interface IEnumerable
Public Class OperationData
Inherits Collection(Of ArraySegment(Of Byte))
Implements IEnumerable(Of ArraySegment(Of Byte)), IOperationData
- Inheritance
-
OperationData
- Implements
Constructors
OperationData() |
Initializes a new instance of the OperationData class. |
OperationData(ArraySegment<Byte>) |
Initializes a new instance of the OperationData class from the specified ArraySegment<T> of bytes. |
OperationData(Byte[]) |
Initializes a new instance of the OperationData class from the specified byte array. |
OperationData(IEnumerable<ArraySegment<Byte>>) |
Initializes a new instance of the OperationData class from the specified collection of ArraySegment<T> of bytes. |
OperationData(IEnumerable<Byte[]>) |
Initializes a new instance of the OperationData class from the specified collection of byte arrays. |
Methods
AsMemoryManagedOperationData() |
Interpret this instance as System.Fabric.MemoryManagedOperationData. |
CreateMemoryManagedOperationData(IEnumerable<MemoryOwner>) |
Creates MemoryManagedOperationData wrapped in a OperationData |
CreateMemoryManagedOperationData(MemoryOwner) |
Creates MemoryManagedOperationData wrapped in a OperationData |
Extension Methods
ToCommaSeparatedString<T>(IEnumerable<T>) |
Converts the elements of a collection to strings and concatenates them into a comma-separated list, or returns null for null or empty collections. |
Applies to
意見反應
https://aka.ms/ContentUserFeedback。
即將登場:在 2024 年,我們將逐步淘汰 GitHub 問題作為內容的意見反應機制,並將它取代為新的意見反應系統。 如需詳細資訊,請參閱:提交並檢視相關的意見反應