AttachmentBase Oluşturucular

Tanım

Yeni AttachmentBasebir örneği oluşturur.

Aşırı Yüklemeler

Name Description
AttachmentBase(Stream)

Belirtilen AttachmentBaseile bir Stream örneği oluşturur.

AttachmentBase(String)

Belirtilen dosya adıyla bir AttachmentBase örneği oluşturur.

AttachmentBase(Stream, ContentType)

belirtilen AttachmentBase ve Streamile bir ContentType örneği oluşturur.

AttachmentBase(Stream, String)

Belirtilen AttachmentBase ve medya türüne sahip bir Stream örneği oluşturur.

AttachmentBase(String, ContentType)

Belirtilen dosya adı ve içerik türüne sahip bir AttachmentBase örneği oluşturur.

AttachmentBase(String, String)

Belirtilen dosya adı ve medya türüne sahip bir AttachmentBase örneği oluşturur.

AttachmentBase(Stream)

Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs

Belirtilen AttachmentBaseile bir Stream örneği oluşturur.

protected:
 AttachmentBase(System::IO::Stream ^ contentStream);
protected AttachmentBase(System.IO.Stream contentStream);
new System.Net.Mail.AttachmentBase : System.IO.Stream -> System.Net.Mail.AttachmentBase
Protected Sub New (contentStream As Stream)

Parametreler

contentStream
Stream

Bu ekin içeriğini içeren bir akış.

Özel durumlar

contentStream, null'e eşittir.

Şunlara uygulanır

AttachmentBase(String)

Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs

Belirtilen dosya adıyla bir AttachmentBase örneği oluşturur.

protected:
 AttachmentBase(System::String ^ fileName);
protected AttachmentBase(string fileName);
new System.Net.Mail.AttachmentBase : string -> System.Net.Mail.AttachmentBase
Protected Sub New (fileName As String)

Parametreler

fileName
String

Bu ekin içeriğini tutan dosya adı.

Özel durumlar

fileName, null'e eşittir.

Şunlara uygulanır

AttachmentBase(Stream, ContentType)

Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs

belirtilen AttachmentBase ve Streamile bir ContentType örneği oluşturur.

protected:
 AttachmentBase(System::IO::Stream ^ contentStream, System::Net::Mime::ContentType ^ contentType);
protected AttachmentBase(System.IO.Stream contentStream, System.Net.Mime.ContentType? contentType);
protected AttachmentBase(System.IO.Stream contentStream, System.Net.Mime.ContentType contentType);
new System.Net.Mail.AttachmentBase : System.IO.Stream * System.Net.Mime.ContentType -> System.Net.Mail.AttachmentBase
Protected Sub New (contentStream As Stream, contentType As ContentType)

Parametreler

contentStream
Stream

Bu ekin içeriğini içeren bir akış.

contentType
ContentType

İçeriğin türü.

Özel durumlar

contentStream, null'e eşittir.

contentType geçerli bir değer değil.

Şunlara uygulanır

AttachmentBase(Stream, String)

Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs

Belirtilen AttachmentBase ve medya türüne sahip bir Stream örneği oluşturur.

protected:
 AttachmentBase(System::IO::Stream ^ contentStream, System::String ^ mediaType);
protected AttachmentBase(System.IO.Stream contentStream, string? mediaType);
protected AttachmentBase(System.IO.Stream contentStream, string mediaType);
new System.Net.Mail.AttachmentBase : System.IO.Stream * string -> System.Net.Mail.AttachmentBase
Protected Sub New (contentStream As Stream, mediaType As String)

Parametreler

contentStream
Stream

Bu ekin içeriğini içeren bir akış.

mediaType
String

İçeriğin MIME medya türü.

Özel durumlar

contentStream, null'e eşittir.

mediaType geçerli bir değer değil.

Şunlara uygulanır

AttachmentBase(String, ContentType)

Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs

Belirtilen dosya adı ve içerik türüne sahip bir AttachmentBase örneği oluşturur.

protected:
 AttachmentBase(System::String ^ fileName, System::Net::Mime::ContentType ^ contentType);
protected AttachmentBase(string fileName, System.Net.Mime.ContentType? contentType);
protected AttachmentBase(string fileName, System.Net.Mime.ContentType contentType);
new System.Net.Mail.AttachmentBase : string * System.Net.Mime.ContentType -> System.Net.Mail.AttachmentBase
Protected Sub New (fileName As String, contentType As ContentType)

Parametreler

fileName
String

Bu ekin içeriğini tutan dosya adı.

contentType
ContentType

İçeriğin türü.

Özel durumlar

fileName, null'e eşittir.

contentType geçerli bir değer değil.

Şunlara uygulanır

AttachmentBase(String, String)

Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs
Kaynak:
Attachment.cs

Belirtilen dosya adı ve medya türüne sahip bir AttachmentBase örneği oluşturur.

protected:
 AttachmentBase(System::String ^ fileName, System::String ^ mediaType);
protected AttachmentBase(string fileName, string? mediaType);
protected AttachmentBase(string fileName, string mediaType);
new System.Net.Mail.AttachmentBase : string * string -> System.Net.Mail.AttachmentBase
Protected Sub New (fileName As String, mediaType As String)

Parametreler

fileName
String

Bu ekin içeriğini tutan dosya adı.

mediaType
String

İçeriğin MIME medya türü.

Özel durumlar

fileName, null'e eşittir.

mediaType geçerli bir değer değil.

Şunlara uygulanır