API Reference
Class
EmailBodyResource
Operation-scoped attachment resource resolved by CID, content location, or filename.
Inheritance
- Object
- EmailBodyResource
Usage
Explore 2 API references to this type
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Returned or exposed by 2
Methods
public Void CopyTo(Stream destination, CancellationToken cancellationToken = default) #Returns:
VoidCopies this resource to a caller-owned destination without materializing another byte array.
Parameters
- destination System.IO.Stream
- cancellationToken System.Threading.CancellationToken = default
public async Task CopyToAsync(Stream destination, CancellationToken cancellationToken = default) #Returns:
TaskAsynchronously copies this resource to a caller-owned destination.
Parameters
- destination System.IO.Stream
- cancellationToken System.Threading.CancellationToken = default
public Stream OpenReadStream(CancellationToken cancellationToken = default) #Returns:
StreamOpens a fresh sequential stream governed by the per-resource and projection-wide budgets.
Parameters
- cancellationToken System.Threading.CancellationToken = default
public async Task<Stream> OpenReadStreamAsync(CancellationToken cancellationToken = default) #Returns:
Task<Stream>Asynchronously opens a fresh sequential stream governed by the configured budgets.
Parameters
- cancellationToken System.Threading.CancellationToken = default
public Byte[] ReadAllBytes(CancellationToken cancellationToken = default) #Returns:
Byte[]Reads this resource within the configured budgets.
Parameters
- cancellationToken System.Threading.CancellationToken = default
public async Task<Byte[]> ReadAllBytesAsync(CancellationToken cancellationToken = default) #Returns:
Task<Byte[]>Asynchronously reads this resource within the configured budgets.
Parameters
- cancellationToken System.Threading.CancellationToken = default
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?