共用方式為


MailTransportBindingElementBase Constructor (MailTransportBindingElementBase)

[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]

Initializes a new instance of the MailTransportBindingElementBase class by using an existing instance of the class.

Namespace:  Microsoft.ServiceModel.Channels.Mail
Assembly:  Microsoft.ServiceModel.Channels.Mail (in Microsoft.ServiceModel.Channels.Mail.dll)

Syntax

'Declaration
Protected Sub New ( _
    elementToCopy As MailTransportBindingElementBase _
)
'Usage
Dim elementToCopy As MailTransportBindingElementBase

Dim instance As New MailTransportBindingElementBase(elementToCopy)
protected MailTransportBindingElementBase(
    MailTransportBindingElementBase elementToCopy
)
protected:
MailTransportBindingElementBase(
    MailTransportBindingElementBase^ elementToCopy
)
new : 
        elementToCopy:MailTransportBindingElementBase -> MailTransportBindingElementBase

Parameters

Exceptions

Exception Condition
ArgumentNullException

elementToCopy is nulla null reference (Nothing in Visual Basic).

Remarks

This constructor is not called directly; it is called by a class that is derived from MailTransportBindingElementBase. The MailTransportBindingElementBase class is the base class for Windows Communication Foundation (WCF) mail transports such as WindowsMobileMailTransportBindingElement and ExchangeWebServiceMailTransportBindingElement.

.NET Framework Security

Platforms

Windows CE, Windows Mobile for Smartphone, Windows Mobile for Pocket PC

The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Version Information

.NET Compact Framework

Supported in: 3.5

See Also

Reference

MailTransportBindingElementBase Class

MailTransportBindingElementBase Members

MailTransportBindingElementBase Overload

Microsoft.ServiceModel.Channels.Mail Namespace